mirror of
https://github.com/kiwix/kiwix-js.git
synced 2025-09-23 04:28:30 -04:00
Remove unnecessary global variables
This commit is contained in:
parent
2aea085dcc
commit
a920c0deb4
12
js/app.js
12
js/app.js
@ -104,15 +104,15 @@ define(function(require) {
|
||||
* Sets the localArchive from the File selects populated by user
|
||||
*/
|
||||
function setLocalArchiveFromFileSelect() {
|
||||
dataFiles=document.getElementById('dataFiles').files;
|
||||
titleFile=document.getElementById('titleFile').files[0];
|
||||
mathIndexFile=document.getElementById('mathIndexFile').files[0];
|
||||
mathDataFile=document.getElementById('mathDataFile').files[0];
|
||||
var dataFiles=document.getElementById('dataFiles').files;
|
||||
var titleFile=document.getElementById('titleFile').files[0];
|
||||
var mathIndexFile=document.getElementById('mathIndexFile').files[0];
|
||||
var mathDataFile=document.getElementById('mathDataFile').files[0];
|
||||
localArchive = new evopedia.LocalArchive();
|
||||
localArchive.dataFiles = dataFiles;
|
||||
localArchive.titleFile = titleFile;
|
||||
localArchive.mathIndexFile = mathIndexFile;
|
||||
localArchive.mathDataFile = mathDataFile;
|
||||
localArchive.mathIndexFile = mathIndexFile;
|
||||
localArchive.mathDataFile = mathDataFile;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user