* [misc] fix js error on click <a> without attrbute href.

This commit is contained in:
sunhao
2025-12-12 08:47:01 +08:00
parent 11e93e4b93
commit 98d2d739bf
+1 -1
View File
@@ -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'))