mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2025-04-22 07:46:17 -04:00
delete cached files after query; consistency updates
This commit is contained in:
parent
be6813d714
commit
7e7463de90
1 changed files with 4 additions and 2 deletions
|
@ -1153,9 +1153,11 @@ class WebShareTargetUI {
|
||||||
console.debug(files)
|
console.debug(files)
|
||||||
Events.fire('activate-paste-mode', {files: files, text: ""})
|
Events.fire('activate-paste-mode', {files: files, text: ""})
|
||||||
})
|
})
|
||||||
|
caches.delete("share_target_files").then( _ => console.log("shared files deleted from cache"));
|
||||||
}
|
}
|
||||||
history.pushState({}, 'URL Rewrite', '/');
|
window.history.replaceState({}, "Rewrite URL", '/'); //remove room_key from url
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1226,7 +1228,7 @@ class PersistentStorage {
|
||||||
}
|
}
|
||||||
|
|
||||||
logBrowserNotCapable() {
|
logBrowserNotCapable() {
|
||||||
console.log("This browser does not support IndexedDB. Paired devices will be gone after closing the browser.");
|
console.log("This browser does not support IndexedDB. Paired devices will be gone after the browser is closed.");
|
||||||
}
|
}
|
||||||
|
|
||||||
static set(key, value) {
|
static set(key, value) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue