mirror of
https://gitflic.ru/project/photopea-v2/photopea-v-2.git
synced 2026-10-26 22:10:38 +00:00
Remove unneeded replace
This commit is contained in:
1 parent
52ddb10929
commit
d2d98c97aa
12 files changed
+20883
-19954
No files matched your search
@@ -204,11 +204,11 @@
|
||||
|
||||
async function askPermissions() {
|
||||
if(dir) {
|
||||
if(await dir.requestPermission({mode:"readwrite"})!="granted") { send("1","You must give Photopea access to some folder."); return; }
|
||||
if(await dir.requestPermission({mode:"readwrite"})!="granted") { send("1","You must give us access to some folder."); return; }
|
||||
}
|
||||
else {
|
||||
try { dir = await window.showDirectoryPicker(); }
|
||||
catch(e) { send("1","You must give Photopea access to some folder."); return; }
|
||||
catch(e) { console.log(e); send("1","You must give us access to some folder."); return; }
|
||||
locStor.fset = dir;
|
||||
|
||||
var os = locStor.db["transaction"](["rsrc"], "readwrite")["objectStore"]("rsrc");
|
||||
|
||||
Reference in new issue
Block a user