From aa52fbb6e869a607bed2c6d3d9f9eb04b29e06f7 Mon Sep 17 00:00:00 2001 From: Jaifroid Date: Tue, 3 Apr 2018 18:14:14 +0100 Subject: [PATCH] Correct test Former-commit-id: 422f5060771c7d93a6035454a177c09a14685ada [formerly 0a7ec58118d9b63b0697aaf8d77a476f1f58c617] Former-commit-id: 4716ae2d63ab17bd556a67ef21f1d01b3a783e78 --- www/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/js/app.js b/www/js/app.js index be09f113..c72cebb9 100644 --- a/www/js/app.js +++ b/www/js/app.js @@ -853,7 +853,7 @@ define(['jquery', 'zimArchiveLoader', 'util', 'uiUtil', 'cookies', 'q', 'module' //@TODO - this is initialization code, and should be in init.js (withoug jQuery) $('input:radio[name=cssInjectionMode]').filter('[value="' + params.cssSource + '"]').prop('checked', true); //DEV this hides file selectors if it is a packaged file -- add your own packaged file test to regex below - if (/wikivoyage|wikimed/i.test(params.fileVersion)) { + if (/wikivoyage|medicine/i.test(params.fileVersion)) { document.getElementById('packagedAppFileSelectors').style.display = "block"; document.getElementById('hideFileSelectors').style.display = "none"; document.getElementById('downloadLinksText').style.display = "none";