diff --git a/resources/common.js b/resources/common.js index d34e259..185eb7c 100644 --- a/resources/common.js +++ b/resources/common.js @@ -387,7 +387,7 @@ function onWindowReady() { }); $('a').click(function() { var href = $(this).attr('href'); - if (href === '#' || href.startsWith("javascript")) { + if (!href || href === '#' || href.startsWith("javascript")) { return; }