mirror of
https://github.com/kiwix/kiwix-js-pwa.git
synced 2025-09-09 04:06:27 -04:00
Test code
Former-commit-id: 9dcfb830e475f5ce366108c6f85d4cc543c86394 [formerly d397d603bcbd293d6fbe862247d1fb166f8d9a3e] Former-commit-id: 8c7de9fc555d83e901cecfad9b1d722f5a46cb4b
This commit is contained in:
parent
a75e93da98
commit
185e6320da
@ -672,6 +672,7 @@ define(['jquery', 'zimArchiveLoader', 'util', 'uiUtil', 'cookies', 'abstractFile
|
||||
//@TODO - this is initialization code, and should be in init.js (withoug jQuery)
|
||||
$('input:radio[name=cssInjectionMode]').filter('[value="' + params.cssSource + '"]').prop('checked', true);
|
||||
//Code below triggers display of modal info box if app is run for the first time, or it has been upgraded to new version
|
||||
//var test = cookies.getItem('version');
|
||||
if (cookies.getItem('version') != params.version) {
|
||||
firstRun = true;
|
||||
$('#myModal').modal({ backdrop: "static" });
|
||||
|
Loading…
x
Reference in New Issue
Block a user