kopia lustrzana https://gitlab.com/gridtracker.org/gridtracker
fix constant var path to be a var we can write to
rodzic
8172febc50
commit
afa1c6b29c
|
@ -860,7 +860,7 @@ fileSelector.onchange = function ()
|
|||
{
|
||||
if (this.files && this.files[0])
|
||||
{
|
||||
path = this.value.replace(this.files[0].name, "");
|
||||
let path = this.value.replace(this.files[0].name, "");
|
||||
fileSelector.setAttribute("nwworkingdir", path);
|
||||
|
||||
var reader = new FileReader();
|
||||
|
@ -904,7 +904,7 @@ startupFileSelector.onchange = function ()
|
|||
g_startupLogs.push(newObject);
|
||||
localStorage.startupLogs = JSON.stringify(g_startupLogs);
|
||||
|
||||
path = this.value.replace(this.files[0].name, "");
|
||||
let path = this.value.replace(this.files[0].name, "");
|
||||
startupFileSelector.setAttribute("nwworkingdir", path);
|
||||
|
||||
setAdifStartup(loadAdifCheckBox);
|
||||
|
|
Ładowanie…
Reference in New Issue