content scripts.js : Fix syntax error which broke jQuery

This commit is contained in:
Matthias Strubel 2017-05-22 08:07:11 +02:00
parent a881760aba
commit 79bc6ff972
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ $(document).ready(function() {
var locationPath = filterPath(location.pathname);
var scrollElem = scrollableElement('html', 'body');
$('a[href*=#]').each(function() {
$('a[href*=\\#]').each(function() {
var thisPath = filterPath(this.pathname) || locationPath;
if ( locationPath == thisPath
&& (location.hostname == this.hostname || !this.hostname)