Commit 75854e03 authored by Luc Didry's avatar Luc Didry
Browse files

Remove trailing slashes

parent 695e90c7
Pipeline #24090 passed with stage
in 17 seconds
......@@ -79,47 +79,47 @@ var domIsReady = (function(domIsReady) {
var url = new URL(window.location);
if (url.searchParams.get('w') !== null) {
document.getElementById('wemake').value = url.searchParams.get('w');
}
if (url.searchParams.get('wx') !== null) {
}
if (url.searchParams.get('wx') !== null) {
document.getElementById('wemake-x').value = url.searchParams.get('wx');
}
if (url.searchParams.get('wy') !== null) {
}
if (url.searchParams.get('wy') !== null) {
document.getElementById('wemake-y').value = url.searchParams.get('wy');
}
if (url.searchParams.get('ws') !== null) {
}
if (url.searchParams.get('ws') !== null) {
document.getElementById('wemake-size').value = url.searchParams.get('ws');
}
if (url.searchParams.get('wc') !== null) {
}
if (url.searchParams.get('wc') !== null) {
document.getElementById('wemake-color').value = url.searchParams.get('wc');
}
if (url.searchParams.get('p') !== null) {
}
if (url.searchParams.get('p') !== null) {
document.getElementById('porn').value = url.searchParams.get('p');
}
if (url.searchParams.get('px') !== null) {
}
if (url.searchParams.get('px') !== null) {
document.getElementById('porn-x').value = url.searchParams.get('px');
}
if (url.searchParams.get('py') !== null) {
}
if (url.searchParams.get('py') !== null) {
document.getElementById('porn-y').value = url.searchParams.get('py');
}
if (url.searchParams.get('ps') !== null) {
}
if (url.searchParams.get('ps') !== null) {
document.getElementById('porn-size').value = url.searchParams.get('ps');
}
if (url.searchParams.get('pc') !== null) {
}
if (url.searchParams.get('pc') !== null) {
document.getElementById('porn-color').value = url.searchParams.get('pc');
}
if (url.searchParams.get('co') !== null) {
}
if (url.searchParams.get('co') !== null) {
document.getElementById('color').value = url.searchParams.get('co');
}
if (url.searchParams.get('bgt') !== null) {
}
if (url.searchParams.get('bgt') !== null) {
document.getElementById('bg-type').value = url.searchParams.get('bgt');
}
if (url.searchParams.get('rc') !== null) {
}
if (url.searchParams.get('rc') !== null) {
document.getElementById('rect-color').value = url.searchParams.get('rc');
}
if (url.searchParams.get('bgr') !== null) {
}
if (url.searchParams.get('bgr') !== null) {
document.getElementById('bgr-color').value = url.searchParams.get('bgr');
}
if (url.searchParams.get('egr') !== null) {
}
if (url.searchParams.get('egr') !== null) {
document.getElementById('egr-color').value = url.searchParams.get('egr');
}
if (url.searchParams.get('or') !== null) {
......@@ -128,9 +128,9 @@ var domIsReady = (function(domIsReady) {
if (url.searchParams.get('cor') !== null) {
document.getElementById('corners').value = url.searchParams.get('cor');
}
if (url.searchParams.get('f') !== null) {
if (url.searchParams.get('f') !== null) {
document.getElementById('filename').value = url.searchParams.get('f');
}
}
toggleBgSettings();
refreshFilename();
......
Supports Markdown
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