diff --git a/chrome/content/overlay.js b/chrome/content/overlay.js index e6d5f95..51b9261 100644 --- a/chrome/content/overlay.js +++ b/chrome/content/overlay.js @@ -8,7 +8,10 @@ var leo_search = { if(query != null) { var myURL = "http://dict.leo.org/" + lang + "de?lang=" + sitelang + "&search=" + query; - openNewTabWith(myURL, null, null, true); + if(instanceOfMouseEvent.ctrlKey == true) + openNewTabWith(myURL, null, null, true); + else + openNewTabWith(myURL, null, null, true); } } };