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,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);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue