@@ -62,6 +62,7 @@ singlefile.ui.button = (() => {
return {
onTabCreated,
+ onTabActivated,
onTabUpdated,
onInitialize,
onProgress,
@@ -84,6 +85,10 @@ singlefile.ui.button = (() => {
refreshTab(tab);
}
+ async function onTabActivated(tab) {
+ refreshTab(tab);
+ }
+
function onReset(tabId) {
refresh(tabId, getProperties({}, "", DEFAULT_COLOR, DEFAULT_TITLE));