diff --git a/app/scripts/plugins/plugin.js b/app/scripts/plugins/plugin.js index 592a92a2..0f89e45b 100644 --- a/app/scripts/plugins/plugin.js +++ b/app/scripts/plugins/plugin.js @@ -292,7 +292,7 @@ const Plugin = Backbone.Model.extend(_.extend({}, PluginStatus, { const locKey = this.getThemeLocaleKey(theme.name); SettingsManager.allThemes[theme.name] = locKey; BaseLocale[locKey] = theme.title; - for (const styleSheet of document.styleSheets) { + for (const styleSheet of Array.from(document.styleSheets)) { if (styleSheet.ownerNode.id === id) { this.processThemeStyleSheet(styleSheet, theme); break; @@ -306,7 +306,7 @@ const Plugin = Backbone.Model.extend(_.extend({}, PluginStatus, { processThemeStyleSheet(styleSheet, theme) { const themeSelector = '.th-' + theme.name; const badSelectors = []; - for (const rule of styleSheet.cssRules) { + for (const rule of Array.from(styleSheet.cssRules)) { if (rule.selectorText && rule.selectorText.lastIndexOf(themeSelector, 0) !== 0) { badSelectors.push(rule.selectorText); } diff --git a/release-notes.md b/release-notes.md index 8a6f1460..01d56b5c 100644 --- a/release-notes.md +++ b/release-notes.md @@ -1,7 +1,8 @@ Release notes ------------- -##### v1.7.5 (2019-02-05) +##### v1.7.5 (2019-02-04) `-` fix #1096: focus issues after minimizing +`-` fix #1094: plugin installation in MS Edge ##### v1.7.4 (2019-01-17) `-` fix #423: input focus issues in desktop apps