mirror of
https://github.com/kiwix/kiwix-js-pwa.git
synced 2025-09-09 12:19:46 -04:00
parent
f0732c87ab
commit
fc8bc06cea
@ -286,7 +286,7 @@ if (/^http/i.test(window.location.protocol)) {
|
||||
});
|
||||
}
|
||||
// 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;
|
||||
if (radio.value === params.cssSource) {
|
||||
radio.checked = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user