Fixes #1709: remove use of $.browser

This commit is contained in:
Georg Brandl 2015-02-06 07:47:13 +01:00
parent 398a207b75
commit 9ecc0b8d2f

View File

@ -154,7 +154,7 @@ var Documentation = {
* workaround a firefox stupidity
*/
fixFirefoxAnchorBug : function() {
if (document.location.hash && $.browser.mozilla)
if (document.location.hash)
window.setTimeout(function() {
document.location.href += '';
}, 10);