mirror of
https://github.com/osnr/TabFS.git
synced 2024-05-23 16:02:18 +02:00
embed-files: clear before refreshing entries
This commit is contained in:
parent
c0e68a24a8
commit
27e4bf4714
|
@ -155,6 +155,7 @@ if (chrome.extension.getBackgroundPage) {
|
|||
|
||||
// ask for what the files are
|
||||
chrome.runtime.onMessage.addListener(function(entries) {
|
||||
container.innerHTML = '';
|
||||
entries.forEach(stat => addFile(stat));
|
||||
});
|
||||
chrome.runtime.sendMessage({op: 'LS'});
|
||||
|
|
Loading…
Reference in a new issue