From fa6a735fe5e1d4b995d9ef5db23f9dcc411237d9 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 2 Feb 2018 13:47:04 +0300 Subject: add search button to dict result dialog (uses google for now) --- js/read.js | 1 + 1 file changed, 1 insertion(+) (limited to 'js/read.js') diff --git a/js/read.js b/js/read.js index 036b348..82a3541 100644 --- a/js/read.js +++ b/js/read.js @@ -267,6 +267,7 @@ function dict_lookup(word, callback) { if (data) { $(".dict_result").html(data.result.join("
")); + $(".dict_query").val(word); $("#dict-modal").modal('show'); if (callback) callback(); -- cgit v1.2.3