Commit b735871e authored by Luc Didry's avatar Luc Didry
Browse files

Fix glitter bug

parent b39d99fe
......@@ -208,7 +208,7 @@ var workSvg = 'Work with SVG';
document.getElementById('color').value = url.searchParams.get('co');
}
if (url.searchParams.get('gli') !== null) {
document.getElementById('add-glitter').checked = url.searchParams.get('gli');
document.getElementById('add-glitter').checked = (url.searchParams.get('gli') === 'true') ? true : false;
}
if (url.searchParams.get('bgt') !== null) {
document.getElementById('bg-type').value = url.searchParams.get('bgt');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment