Fix bug for <a> without href
This commit is contained in:
parent
7d517e1a7d
commit
c535ae4415
1 changed files with 1 additions and 1 deletions
|
@ -387,7 +387,7 @@ function onWindowReady() {
|
||||||
});
|
});
|
||||||
$('a').click(function() {
|
$('a').click(function() {
|
||||||
var href = $(this).attr('href');
|
var href = $(this).attr('href');
|
||||||
if (href === '#' || href.startsWith("javascript")) {
|
if (!href || href === '#' || href.startsWith("javascript")) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue