summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2019-06-18 21:26:14 +0300
committerAndrew Dolgov <[email protected]>2019-06-18 21:26:14 +0300
commit6bbce144df1e35a4844afbbf10735ddecbe81819 (patch)
tree49f03a8388d29f455cee01a259d4b6a518f7acbc /js
parent4378c30a15e4d5db2b321ff9cb2ec90ab227bd75 (diff)
google -> duckduckgo
Diffstat (limited to 'js')
-rw-r--r--js/read.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/js/read.js b/js/read.js
index 9e86502..dd3c3f4 100644
--- a/js/read.js
+++ b/js/read.js
@@ -338,9 +338,10 @@ function init_reader() {
$(".dict_result").scrollTop(0);
})
+ // TODO: make configurable
$(".dict_search_btn").on("click", function() {
$("#dict-modal").modal('hide');
- window.open("https://google.com/search?q=" + $(".dict_query").val());
+ window.open("https://duckduckgo.com/?q=" + $(".dict_query").val());
});
function toc_loc_msg(href) {