aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorzsloan2015-10-23 11:01:29 -0500
committerzsloan2015-10-23 11:01:29 -0500
commitc43cfda95ca4167b6c3a9e7ef7bf42dd474d4e8d (patch)
treec345a29f680f8083504cec06d108b1a797fac98d /wqflask
parentac57b5320412217a9f97f02ab1bda63660c3bc72 (diff)
parent6c48172bcff84c35151797ab8aab0cf30d5aea93 (diff)
downloadgenenetwork2-c43cfda95ca4167b6c3a9e7ef7bf42dd474d4e8d.tar.gz
Merge pull request #125 from sn3twork/issues/98
Fixes issue #98.
Diffstat (limited to 'wqflask')
-rwxr-xr-xwqflask/wqflask/templates/index_page.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/templates/index_page.html b/wqflask/wqflask/templates/index_page.html
index 8b66a5b0..4803b17c 100755
--- a/wqflask/wqflask/templates/index_page.html
+++ b/wqflask/wqflask/templates/index_page.html
@@ -272,7 +272,7 @@
if ( (window.event ? event.keyCode : e.which) == 13) {
// If enter key has been pressed and the search fields are non-empty
// manually submit the <form>
- if( event.target.value != "" ) {
+ if( event.target.value.trim() != "" ) {
document.forms[1].submit();
}
}