remove dot spans from toggles

This commit is contained in:
Ryo Hilmawan 2020-11-23 14:10:50 +07:00 committed by GitHub
parent 6ed4d01c39
commit 009e9b9a1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -422,7 +422,7 @@ window['__start'] = async () => {
${store(id, { [opt.key]: opt.value })[opt.key] ? 'checked' : ''}/>
<label for="${opt.type}_${id}--${opt.key}">
<span class="name">${opt.label}${desc}</span>
<span class="switch"><span class="dot"></span></span>
<span class="switch"></span>
</label>
`;
break;
@ -539,7 +539,7 @@ window['__start'] = async () => {
${enabled ? 'checked' : ''} />
<label for="enable_${mod.id}">
<span class="name">${mod.name}</span>
<span class="switch"><span class="dot"></span></span>
<span class="switch"></span>
</label>`
}</h3>
<p class="tags">${mod.tags