Map() keys must be of the same type

This commit is contained in:
tophf 2017-05-05 18:04:17 +03:00
parent 6f478cbc57
commit 54a875fab3

View File

@ -237,7 +237,7 @@ function applySections(styleId, sections) {
}); });
addStyleElement(el); addStyleElement(el);
styleElements.set(el.id, el); styleElements.set(el.id, el);
disabledElements.delete(styleId); disabledElements.delete(Number(styleId));
} }