just some test code for opening result in foreground tab when ctrl key is pressed
This commit is contained in:
parent
361e07740c
commit
69e863e6ca
1 changed files with 4 additions and 1 deletions
|
|
@ -8,6 +8,9 @@ var leo_search = {
|
||||||
if(query != null)
|
if(query != null)
|
||||||
{
|
{
|
||||||
var myURL = "http://dict.leo.org/" + lang + "de?lang=" + sitelang + "&search=" + query;
|
var myURL = "http://dict.leo.org/" + lang + "de?lang=" + sitelang + "&search=" + query;
|
||||||
|
if(instanceOfMouseEvent.ctrlKey == true)
|
||||||
|
openNewTabWith(myURL, null, null, true);
|
||||||
|
else
|
||||||
openNewTabWith(myURL, null, null, true);
|
openNewTabWith(myURL, null, null, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue