From 5d0e0cd50373d02aaf6e9f0289ade1f1a22fbe5f Mon Sep 17 00:00:00 2001 From: Guillaume Mazoyer Date: Fri, 29 Aug 2014 11:01:02 +0200 Subject: Fix help dialog not displaying proper text after clicking on the reset button. --- js/looking-glass.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'js') 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 -- cgit v1.2.3