Test code

Former-commit-id: 9dcfb830e475f5ce366108c6f85d4cc543c86394 [formerly d397d603bcbd293d6fbe862247d1fb166f8d9a3e]
Former-commit-id: 8c7de9fc555d83e901cecfad9b1d722f5a46cb4b
This commit is contained in:
Jaifroid 2017-12-10 17:06:15 +00:00
parent a75e93da98
commit 185e6320da

View File

@ -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" });