I imagine if href is missing, this.href would be undefined, no? smile
I was surprised that it's been an empty string that got checked instead of undefined too, but it seems I'm to adapted to jQuery ^^
This is because you use the DOM-element rather than jQuery to get the href:
document.createElement('a').href === ''
$('<a></a>').attr('href') === undefined
Look at the number of notifications. What do you see? - Yes, there is -10.
As it turns out, if you very fast click on -
Even if you simply click on a few laps they stray from the correct number.