From 709f10aa5de7f241a6ab3a1fcb0291c701819f46 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Mon, 7 Nov 2016 12:51:32 +0100 Subject: [PATCH] Fix the push state Signed-off-by: Joas Schilling --- core/js/js.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/js/js.js b/core/js/js.js index d532b57df6e..2939b558d9d 100644 --- a/core/js/js.js +++ b/core/js/js.js @@ -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; -- 2.39.5