* [misc] fix js error on click <a> without attrbute href.
This commit is contained in:
+1
-1
@@ -1888,7 +1888,7 @@
|
||||
return;
|
||||
}
|
||||
|
||||
if($link.is('a'))
|
||||
if(href && $link.is('a'))
|
||||
{
|
||||
if(href.startsWith('javascript:')) return;
|
||||
if(/^https?:/.test(href) && !$link.data('app'))
|
||||
|
||||
Reference in New Issue
Block a user