diff options
Diffstat (limited to 'src/app/js/browser.js')
-rw-r--r-- | src/app/js/browser.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/app/js/browser.js b/src/app/js/browser.js index bd9506f..aaca6a8 100644 --- a/src/app/js/browser.js +++ b/src/app/js/browser.js @@ -475,6 +475,11 @@ browser.mod_el = (properties) => { browserEntries.appendChild(entry); } +browser.packages = async () => { + await browser.loadfront(); + return packages; +} + let recent_toasts = {}; function add_recent_toast(name, timeout = 3000) { if (recent_toasts[name]) {return} |