Fix: openFinder dialog
This commit is contained in:
parent
e190cf3393
commit
af459aa93a
|
@ -144,7 +144,7 @@ onmessage = function(e) {
|
||||||
} else if (e.data[0] == 'toastSaved') {
|
} else if (e.data[0] == 'toastSaved') {
|
||||||
var show = `${lang.lang_img_DLDone}${
|
var show = `${lang.lang_img_DLDone}${
|
||||||
e.data[1][0]
|
e.data[1][0]
|
||||||
}<button class="btn-flat toast-action" onclick="openFinder(${e.data[1][1]}')">Show</button>`
|
}<button class="btn-flat toast-action" onclick="openFinder('${e.data[1][1]}')">Show</button>`
|
||||||
M.toast({ html: show, displayLength: 5000 })
|
M.toast({ html: show, displayLength: 5000 })
|
||||||
} else if (e.data[0] == 'parseColumn') {
|
} else if (e.data[0] == 'parseColumn') {
|
||||||
parseColumn(e.data[1])
|
parseColumn(e.data[1])
|
||||||
|
|
|
@ -266,9 +266,8 @@ function dlImg() {
|
||||||
if (remote_img == 'yes') {
|
if (remote_img == 'yes') {
|
||||||
murl = ourl
|
murl = ourl
|
||||||
}
|
}
|
||||||
if (localStorage.getItem('savefolder')) {
|
|
||||||
var save = localStorage.getItem('savefolder')
|
var save = localStorage.getItem('savefolder')
|
||||||
} else {
|
if (!save || save == 'null') {
|
||||||
var save = ''
|
var save = ''
|
||||||
}
|
}
|
||||||
postMessage(['generalDL', [murl, save, false]], '*')
|
postMessage(['generalDL', [murl, save, false]], '*')
|
||||||
|
|
Loading…
Reference in New Issue
Block a user