Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/core/src
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2019-10-02 14:18:17 +0300
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2019-10-04 08:04:29 +0300
commit972279d31b15dfe972eb5c254ed8b56b7d926d72 (patch)
tree076b8f0aff20d98aaf4fbb299f9d353f1f498ea1 /core/src
parentc2c7c2778b3dc1f2b9299fa21c15e191edb89a8c (diff)
Split drone webpack tests
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
Diffstat (limited to 'core/src')
-rw-r--r--core/src/OC/util-history.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/core/src/OC/util-history.js b/core/src/OC/util-history.js
index 77607b64022..dfb5117c27e 100644
--- a/core/src/OC/util-history.js
+++ b/core/src/OC/util-history.js
@@ -61,10 +61,11 @@ export default {
if (isFirefox && parseInt(navigator.userAgent.split('/').pop()) < 51) {
var patterns = document.querySelectorAll('[fill^="url(#"], [stroke^="url(#"], [filter^="url(#invert"]')
for (var i = 0, ii = patterns.length, pattern; i < ii; i++) {
- const { fill, stroke } = pattern.style
pattern = patterns[i]
- pattern.style.fill = fill
- pattern.style.stroke = stroke
+ // eslint-disable-next-line no-self-assign
+ pattern.style.fill = pattern.style.fill
+ // eslint-disable-next-line no-self-assign
+ pattern.style.stroke = pattern.style.stroke
pattern.removeAttribute('filter')
pattern.setAttribute('filter', 'url(#invert)')
}