diff --git a/addon/chrome/content/tab/tab.js b/addon/chrome/content/tab/tab.js index 6a5527e0..7a7ad238 100644 --- a/addon/chrome/content/tab/tab.js +++ b/addon/chrome/content/tab/tab.js @@ -895,6 +895,9 @@ Tabmix.tabsUtils = { } this.updateOverflowMaxWidth(); this.updateVerticalTabStrip(); + if (Tabmix.isVersion(1340)) { + gURLBar.onWidgetAfterDOMChange(gURLBar.textbox.parentNode); + } break; } } diff --git a/types/general.d.ts b/types/general.d.ts index 02315c3f..561fa25f 100644 --- a/types/general.d.ts +++ b/types/general.d.ts @@ -782,8 +782,12 @@ interface gURLBar extends HTMLElement { _whereToOpen: (event?: Event & {__tabmix__whereToOpen?: WhereToOpen}) => WhereToOpen; focused: boolean; handleCommand(event?: Event): void; + onWidgetAfterDOMChange(aNode: Node): void; select: () => void; setURI: (uri?: string, dueToTabSwitch?: boolean, dueToSessionRestore?: boolean, dontShowSearchTerms?: boolean, isSameDocument?: boolean) => void; + textbox: Node & { + parentNode: Node; + }; untrimmedValue: string; view: UrlbarView; value: string;