deparam to a npm package

This commit is contained in:
JFH
2021-03-14 23:10:50 +01:00
parent ad24d8f5b9
commit 867f0b739f
3 changed files with 10 additions and 11 deletions

View File

@@ -237,7 +237,7 @@ export default class ConfigObj {
const {search, searchParams} = new URL(location);
if (search) {
this.urldata = deparam(searchParams.toString(), true);
this.urldata = deparam(searchParams.toString());
['initStroke', 'initFill'].forEach((prop) => {
if (searchParams.has(`${prop}[color]`)) {