summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorGuillaume Mazoyer <respawneral@gmail.com>2014-08-06 00:09:50 +0200
committerGuillaume Mazoyer <respawneral@gmail.com>2014-08-06 00:09:50 +0200
commit62026ca49b5bff063a06e3b49864947e65cea426 (patch)
tree8f6dc5e7ee86958c1be496ac70603e0956605122 /js
parent730bc651dba3c47f75bb41970629736642d54c03 (diff)
Reminder of the command in the help modal.
Diffstat (limited to 'js')
-rw-r--r--js/looking-glass.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/js/looking-glass.js b/js/looking-glass.js
index ec26416..4cbc47a 100644
--- a/js/looking-glass.js
+++ b/js/looking-glass.js
@@ -6,7 +6,8 @@ function request_doc(query) {
}).done(function(response) {
var response = $.parseJSON(response);
- $('#command-help').html(response.query);
+ $('#command-reminder').text(response.command);
+ $('#description-help').html(response.description);
$('#parameter-help').html(response.parameter);
}).fail(function(xhr) {
$('#help-content').text('Cannot load documentation...');