about summary refs log tree commit diff
diff options
context:
space:
mode:
authorzsloan2023-03-28 18:26:44 +0000
committerzsloan2023-03-28 18:32:26 +0000
commit9a794e6327cd25a20da3aceea95de5e8ee48afce (patch)
tree84067266be4ae77cfe0b81c023e9d45c0c8f6444
parent9957da3abeabbe68bb1d77358cbec1dd5274b938 (diff)
downloadgenenetwork2-9a794e6327cd25a20da3aceea95de5e8ee48afce.tar.gz
Only include 'cytochrome AND P450' as part of the placeholder text
-rw-r--r--wqflask/wqflask/templates/base.html6
1 files changed, 1 insertions, 5 deletions
diff --git a/wqflask/wqflask/templates/base.html b/wqflask/wqflask/templates/base.html
index 78dc1b5e..518510de 100644
--- a/wqflask/wqflask/templates/base.html
+++ b/wqflask/wqflask/templates/base.html
@@ -188,7 +188,7 @@
                         <option value="phenotype" {% if type=="phenotype" %}selected{% endif %}>Phenotypes</option>
                     </select>
                     <div class="col-8  autocomplete" style="margin-left: 30px;margin-right: 10px;">
-                        <input autocomplete="off" class="global_search_input" id="term" style="width:45vw" type="text" required placeholder="enter you search term here" name="terms">
+                        <input autocomplete="off" class="global_search_input" id="term" style="width:45vw" type="text" required placeholder="Enter you search term here (ex: cytochrome AND P450)" name="terms">
 
                   <button   type="submit" class="btn-stc" style="position: absolute;  background-color: #336699"><i class="fa fa-search" title="Search " style="color:white;"></i></button>
                     </div>
@@ -323,10 +323,6 @@
     const urlParams = new  URLSearchParams(window.location.search)
    let term = urlParams.get("terms")
 
-   term  =  term?term: "cytochrome AND P450"
-    $("#term").val(term);
-
-
         //should web scrap
         var global_search_hint = [
             "cytochrome",