Fix: typo, TypeError in styleExists

This commit is contained in:
eight 2018-11-01 01:34:29 +08:00
parent a76ec7c311
commit 0c7e641ea9

View File

@ -120,7 +120,7 @@ const styleManager = (() => {
}
function styleExists(filter) {
return [...styles.value()].some(s => filterMatch(filter, s.data));
return [...styles.values()].some(s => filterMatch(filter, s.data));
}
function filterMatch(filter, target) {