js/events: ignore javascript: in links
This commit is contained in:
parent
1efd1d183e
commit
ef0963af38
|
@ -459,6 +459,9 @@
|
|||
var isMenuLink = $a.closest('#menu').length > 0;
|
||||
var formerUrl;
|
||||
var remote = /^(?:[a-z]+:)\/\//;
|
||||
if (href.match(/^javascript:/)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
// Ignore clicks on multiselect table inner links while key pressed
|
||||
if ((event.ctrlKey || event.metaKey || event.shiftKey) &&
|
||||
|
|
Loading…
Reference in New Issue