Fix the push state

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2016-11-07 12:51:32 +01:00 committed by Julius Haertl
parent 7f3a13c968
commit 709f10aa5d
No known key found for this signature in database
GPG Key ID: 4C614C6ED2CDE6DF
1 changed files with 1 additions and 1 deletions

View 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;