From 54a875fab3dc8c856684b81eec86f343a3656cc6 Mon Sep 17 00:00:00 2001 From: tophf Date: Fri, 5 May 2017 18:04:17 +0300 Subject: [PATCH] Map() keys must be of the same type --- apply.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apply.js b/apply.js index 99d09b12..54ff5047 100644 --- a/apply.js +++ b/apply.js @@ -237,7 +237,7 @@ function applySections(styleId, sections) { }); addStyleElement(el); styleElements.set(el.id, el); - disabledElements.delete(styleId); + disabledElements.delete(Number(styleId)); }