From afb4342e16e5cce8f951c3bec57f4e4bbb40d14e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=8F?= Date: Fri, 19 Jan 2024 13:52:47 +0800 Subject: [PATCH] Fix Phind provider --- src/providers/phind.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/providers/phind.js b/src/providers/phind.js index 6c51259..cba180f 100644 --- a/src/providers/phind.js +++ b/src/providers/phind.js @@ -10,7 +10,8 @@ class Phind extends Provider { static handleInput(input) { const fullName = this.fullName; this.getWebview().executeJavaScript(`{ - var inputElement = document.querySelector('textarea[placeholder*="Describe your task in detail. What are you stuck on"]'); + // can be "Ask anything." or "Ask a followup question" + var inputElement = document.querySelector('textarea[placeholder*="Ask"]'); if (!inputElement) { inputElement = document.querySelector('textarea[placeholder*="Send message"]'); }