diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2016-11-07 13:48:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-07 13:48:18 +0100 |
commit | 1857e50259e3cedffd9d9c24ce2a47bf08ebf782 (patch) | |
tree | d7b9bcca62cbe69181921fe585663321dd0bbde6 | |
parent | 689567ec6d185eb4f34fc8fd69c6730befd6c0ee (diff) | |
parent | 6c27b74e7510f399ea507f8cbfd06b9e74a3ae95 (diff) | |
download | nextcloud-server-1857e50259e3cedffd9d9c24ce2a47bf08ebf782.tar.gz nextcloud-server-1857e50259e3cedffd9d9c24ce2a47bf08ebf782.zip |
Merge pull request #2036 from nextcloud/try-fixing-firefox-push-state
Fix the push state
-rw-r--r-- | core/js/js.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/js.js b/core/js/js.js index 132edaf3ead..bcf9aeb9d42 100644 --- a/core/js/js.js +++ b/core/js/js.js @@ -1841,7 +1841,7 @@ OC.Util.History = { // https://bugzilla.mozilla.org/show_bug.cgi?id=652991 var isFirefox = navigator.userAgent.toLowerCase().indexOf('firefox') > -1; if (isFirefox && parseInt(navigator.userAgent.split('/').pop()) < 51) { - var patterns = document.querySelectorAll(selector || '[fill^="url(#"], [stroke^="url(#"]'); + var patterns = document.querySelectorAll('[fill^="url(#"], [stroke^="url(#"]'); for (var i = 0, ii = patterns.length, pattern; i < ii; i++) { pattern = patterns[i]; pattern.style.fill = pattern.style.fill; |