diff options
author | Guillaume Mazoyer <respawneral@gmail.com> | 2014-08-29 11:01:02 +0200 |
---|---|---|
committer | Guillaume Mazoyer <respawneral@gmail.com> | 2014-08-29 11:01:02 +0200 |
commit | 5d0e0cd50373d02aaf6e9f0289ade1f1a22fbe5f (patch) | |
tree | 74ea274128a6fa44e1ff8d4e9ccf40c6e389eb8e /js/looking-glass.js | |
parent | 6816c6765009538aec31cde3128c1cb69ca272e9 (diff) |
Fix help dialog not displaying proper text after clicking on the reset button.
Diffstat (limited to 'js/looking-glass.js')
-rw-r--r-- | js/looking-glass.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/js/looking-glass.js b/js/looking-glass.js index 4cbc47a..3f612de 100644 --- a/js/looking-glass.js +++ b/js/looking-glass.js @@ -24,8 +24,11 @@ $(document).ready(function() { $('.close').click(function() { $('.alert').slideUp(); }); + + // close the alert bar and reset the doc modal $('#clear').click(function() { $('.alert').slideUp(); + request_doc($('#query').val()); }); // reset the view to the default one |