diff options
-rw-r--r-- | js/read.js | 3 | ||||
-rw-r--r-- | read.html | 2 |
2 files changed, 3 insertions, 2 deletions
@@ -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) { @@ -131,7 +131,7 @@ <div class="dict_result"> </div> </div> <div class="modal-footer"> - <button type="button" class="dict_search_btn btn-default btn">Google</button> + <button type="button" class="dict_search_btn btn-default btn">Web search</button> <button type="button" class="btn btn-primary" data-dismiss="modal">Close</button> </div> </div> |