Fix js func

This commit is contained in:
Fenny 2020-02-05 01:20:45 +01:00
parent 6d0e4257e8
commit ae132e61ed

View File

@ -48,10 +48,9 @@
if (txt.text().startsWith("!")) {
txt.html(txt.text().replace('!', ''))
n.css('opacity', '0.4')
console.log(n)
}
});
}, 250)
}, 500)
}
$(window).on('hashchange', function() {
if (window.location.hash.startsWith("#/context")) {
@ -62,10 +61,9 @@
if (txt.text().startsWith("!")) {
txt.html(txt.text().replace('!', ''))
n.css('opacity', '0.4')
console.log(n)
}
});
}, 250)
}, 500)
}
})