Merge branch 'check' of https://github.com/vershwal/iD into vershwal-check

This commit is contained in:
Bryan Housel
2018-07-09 09:32:15 -04:00
12 changed files with 454 additions and 9 deletions
+3
View File
@@ -101,6 +101,9 @@ export function utilStringQs(str) {
if (parts.length === 2) {
obj[parts[0]] = (null === parts[1]) ? '' : decodeURIComponent(parts[1]);
}
if (parts[0] === 'mvt') {
obj[parts[0]] = (parts[2] != undefined) ? (decodeURIComponent(parts[1]) + '=' + decodeURIComponent(parts[2])) : (decodeURIComponent(parts[1]));
}
return obj;
}, {});
}