mirror of
https://github.com/kiwix/kiwix-js-pwa.git
synced 2025-09-08 03:37:12 -04:00
Style the dropdown and fix typo
This commit is contained in:
parent
138ae58a59
commit
f35b1c6be5
@ -1080,7 +1080,7 @@
|
||||
<b>Permanently hide active content warning</b> (for experienced users)
|
||||
</label>
|
||||
<b>Force use of libzim W/ASM for reading full-text index:</b>
|
||||
<select name="debugLibzimASM" id="debugLibzimASMDrop">
|
||||
<select name="debugLibzimASM" id="debugLibzimASMDrop" class="dropdown">
|
||||
<option value="">Default</option>
|
||||
<option value="wasm">WASM</option>
|
||||
<option value="asm">ASM</option>
|
||||
|
@ -129,7 +129,7 @@ params.pagesLoaded = 0; // Page counter used to show PWA Install Prompt only aft
|
||||
params.localUWPSettings = /UWP/.test(params.appType) ? Windows.Storage.ApplicationData.current.localSettings.values : null;
|
||||
appstate['target'] = 'iframe'; // The target for article loads (this should always be 'iframe' initially, and will only be changed as a result of user action)
|
||||
params['mapsURI'] = getSetting('mapsURI') || (/UWP|Windows/.test(params.appType) ? 'bingmaps:' : 'https://www.openstreetmap.org/'); // Protocol with colon ('bingmaps:') or URL with final slash ('https://www.openstreetmap.org/')
|
||||
params['debugLibzimASM'] = getSetting('degugLibzimASM'); // 'wasm|asm' Forces use of wasm or asm for libzim decoder. You can also set this as an override URL querystring e.g. ?debugLibzimASM=wasm;
|
||||
params['debugLibzimASM'] = getSetting('debugLibzimASM'); // 'wasm|asm' Forces use of wasm or asm for libzim decoder. You can also set this as an override URL querystring e.g. ?debugLibzimASM=wasm;
|
||||
|
||||
// Apply any override parameters in querystring (done as a self-calling function to avoid creating global variables)
|
||||
(function overrideParams() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user