1
0

strip out vestigial JS from when css/ had fully custom CSS as an option

This commit is contained in:
dtb 2022-09-01 20:12:52 -04:00
parent d3bdf4c3b5
commit 8a43dfeec0

View File

@ -44,9 +44,8 @@ csspage(`yarahmode')
<H4>side-effects</H4> <H4>side-effects</H4>
<INPUT ONCLICK=" <INPUT ONCLICK="
document.getElementById('custom').value = document.getElementById('custom_input').value; var selected;
var selected = document.querySelector('input[name=\'css\']:checked'); if((selected = document.querySelector('input[name=\'css\']:checked')) != null)
if(selected != null)
window.setStyling(selected.value); window.setStyling(selected.value);
" TYPE="button" VALUE="apply to this page" /> " TYPE="button" VALUE="apply to this page" />