mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fixes #1709: remove use of $.browser
This commit is contained in:
parent
398a207b75
commit
9ecc0b8d2f
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user