Would someone please explain the purpose behind blocking bookmarks in jrFollowMe_init()?
$(document).on("click", 'a', function(e)
{
var aurl = $(this).attr("href") || "";
aurl = aurl.replace(" ", "-");
if (aurl.indexOf("javascript") >= 0 || aurl == "" || aurl.indexOf("#") == 0) {
e.preventDefault();
return false;
}
});
I must allow users to navigate using bookmarks. I can easily address this of course, but would like to know the reason for this code to mitigate side-effects.
--
TiG
updated by @tig: 11/19/17 07:54:08PM