mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 16:26:59 -04:00
Merge pull request #2036 from nextcloud/try-fixing-firefox-push-state
Fix the push state
This commit is contained in:
commit
1857e50259
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue