mirror of
https://github.com/osnr/TabFS.git
synced 2024-05-13 02:56:35 +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
|
// ask for what the files are
|
||||||
chrome.runtime.onMessage.addListener(function(entries) {
|
chrome.runtime.onMessage.addListener(function(entries) {
|
||||||
|
container.innerHTML = '';
|
||||||
entries.forEach(stat => addFile(stat));
|
entries.forEach(stat => addFile(stat));
|
||||||
});
|
});
|
||||||
chrome.runtime.sendMessage({op: 'LS'});
|
chrome.runtime.sendMessage({op: 'LS'});
|
||||||
|
|
Loading…
Reference in a new issue