Better end user experience

# Conflicts:
#	www/index.html


Former-commit-id: 43260f28483eaf0917fb1362a1f81741a0007dd4 [formerly 94e6fd7f4cbe6483ef0a28048079138f025eeb29]
Former-commit-id: c4f420177a49a4a5efc3f5aa00869ebc7d5db2cc
This commit is contained in:
Jaifroid 2019-08-10 11:14:28 +01:00
parent f04a2415b5
commit 18a98d70f7
2 changed files with 4 additions and 3 deletions

View File

@ -639,7 +639,7 @@
<label class="checkbox">
<input type="checkbox" name="displayFileSelectors" id="displayFileSelectorsCheck">
<span class="checkmark"></span>
<b>Display selectors</b> for files and folders : <i>This is for downloading <b>Wikivoyage</b> in other languages</i>. If you wish to open different ZIM files (e.g. Wikipedia), you should instead download Kiwix JS from the Store
<b>Display selectors</b> for files and folders : <i>This is for downloading other ZIM archives</i>.
</label>
</div>
</div>
@ -701,7 +701,8 @@
</div>
<!-- Bootstrap alert box -->
<div id="alertBoxHeader" style="text-align: center"></div>
<iframe id="articleContent" class="articleIFrame"></iframe>
<!-- Attribute nwdisable prevents scripts in iframe accessing the nwjs node APIs -->
<iframe id="articleContent" class="articleIFrame" nwdisable></iframe>
</article>
<footer id="footer">
<!-- Bootstrap alert box -->

View File

@ -1134,7 +1134,7 @@ define(['jquery', 'zimArchiveLoader', 'uiUtil', 'util', 'utf8', 'images', 'cooki
//@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|medicine/i.test(params.fileVersion)) {
if (params.packagedFile && !/ray.charles/i.test(params.fileVersion)) {
document.getElementById('packagedAppFileSelectors').style.display = "block";
document.getElementById('hideFileSelectors').style.display = "none";
//document.getElementById('downloadLinksText').style.display = "none";