mirror of
https://github.com/kiwix/kiwix-js-pwa.git
synced 2025-09-10 20:59:03 -04:00
parent
f0732c87ab
commit
fc8bc06cea
@ -286,7 +286,7 @@ if (/^http/i.test(window.location.protocol)) {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
// Set cssInjectionMode radio buttons
|
// Set cssInjectionMode radio buttons
|
||||||
document.querySelectorAll('input[name=cssInjectionMode]').forEach(function (radio) {
|
Array.prototype.slice.call(document.querySelectorAll('input[name=cssInjectionMode]')).forEach(function (radio) {
|
||||||
radio.checked = false;
|
radio.checked = false;
|
||||||
if (radio.value === params.cssSource) {
|
if (radio.value === params.cssSource) {
|
||||||
radio.checked = true;
|
radio.checked = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user