]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix the push state
authorJoas Schilling <coding@schilljs.com>
Mon, 7 Nov 2016 11:51:32 +0000 (12:51 +0100)
committerJulius Haertl <jus@bitgrid.net>
Mon, 7 Nov 2016 23:15:07 +0000 (00:15 +0100)
Signed-off-by: Joas Schilling <coding@schilljs.com>
core/js/js.js

index d532b57df6ef71ab12ae9015954d4511050d273a..2939b558d9d41af2c27c8f164fcb4d41c1d8ba39 100644 (file)
@@ -1961,7 +1961,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;