diff options
author | zsloan | 2015-10-23 11:01:29 -0500 |
---|---|---|
committer | zsloan | 2015-10-23 11:01:29 -0500 |
commit | c43cfda95ca4167b6c3a9e7ef7bf42dd474d4e8d (patch) | |
tree | c345a29f680f8083504cec06d108b1a797fac98d | |
parent | ac57b5320412217a9f97f02ab1bda63660c3bc72 (diff) | |
parent | 6c48172bcff84c35151797ab8aab0cf30d5aea93 (diff) | |
download | genenetwork2-c43cfda95ca4167b6c3a9e7ef7bf42dd474d4e8d.tar.gz |
Merge pull request #125 from sn3twork/issues/98
Fixes issue #98.
-rwxr-xr-x | wqflask/wqflask/templates/index_page.html | 2 |
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(); } } |