* [bug #66058] fix click link starts with # not work in firefox.
This commit is contained in:
+9
-1
@@ -1810,7 +1810,15 @@
|
||||
delete options.loadId;
|
||||
}
|
||||
|
||||
if(url && ((/^(https?|javascript):/.test(url) && !options.app) || url.startsWith('#'))) return;
|
||||
if(url)
|
||||
{
|
||||
if(/^(https?|javascript):/.test(url) && !options.app) return;
|
||||
if(url[0] === '#')
|
||||
{
|
||||
if(/firefox/i.test(navigator.userAgent)) e.preventDefault();
|
||||
return;
|
||||
}
|
||||
}
|
||||
if(!url && $link.is('a') && !options.back && !options.load) return;
|
||||
|
||||
if($modal.length)
|
||||
|
||||
Reference in New Issue
Block a user