summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--js/looking-glass.js3
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