summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2018-02-02 13:47:04 +0300
committerAndrew Dolgov <[email protected]>2018-02-02 13:47:04 +0300
commitfa6a735fe5e1d4b995d9ef5db23f9dcc411237d9 (patch)
tree7b78fdd50f000b62f8ca29535791764ce320ead4 /js
parent10149818546d048bc0121e7e09570bcc028d2d25 (diff)
add search button to dict result dialog (uses google for now)
Diffstat (limited to 'js')
-rw-r--r--js/read.js1
1 files changed, 1 insertions, 0 deletions
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("<br/>"));
+ $(".dict_query").val(word);
$("#dict-modal").modal('show');
if (callback) callback();