diff options
Diffstat (limited to '_includes/extensions/hashlocate.html')
-rw-r--r-- | _includes/extensions/hashlocate.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/_includes/extensions/hashlocate.html b/_includes/extensions/hashlocate.html index 5194273..fd4a3d6 100644 --- a/_includes/extensions/hashlocate.html +++ b/_includes/extensions/hashlocate.html @@ -36,7 +36,7 @@ // The first event occurred window.addEventListener('click', function(event) { - if (event.target.matches('a')) { + if (event.target.tagName.toLowerCase() == 'a') { hashLocate(event.target.getAttribute('href')); } }); |