mirror of
https://github.com/keeweb/keeweb.git
synced 2024-06-27 07:45:08 +02:00
fix #1094: plugin installation in MS Edge
This commit is contained in:
parent
0915e5d6ca
commit
b35465fa8e
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user