From 62026ca49b5bff063a06e3b49864947e65cea426 Mon Sep 17 00:00:00 2001 From: Guillaume Mazoyer Date: Wed, 6 Aug 2014 00:09:50 +0200 Subject: Reminder of the command in the help modal. --- js/looking-glass.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'js') 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...'); -- cgit v1.2.3