@@ -166,9 +166,9 @@ window.MaxExtensionButtonsInit = {
166166 // Special handling for the settings button.
167167 const settingsButtonConfig = { ...def . config , text : 'Settings' , tooltip : 'Open extension settings in a new tab' } ;
168168 const settingsClickHandler = ( ) => {
169- // Send a message to the service worker to open the settings page.
170- // This avoids the popup blocker (ERR_BLOCKED_BY_CLIENT).
171- chrome . runtime . sendMessage ( { type : 'openSettingsPage' } ) ;
169+ // Send a message to the service worker to open the settings page.
170+ // This avoids the popup blocker (ERR_BLOCKED_BY_CLIENT).
171+ chrome . runtime . sendMessage ( { type : 'openSettingsPage' } ) ;
172172 } ;
173173 buttonElement = MaxExtensionButtons . createCustomSendButton ( settingsButtonConfig , index , settingsClickHandler , shortcutKey ) ;
174174 } else {
@@ -214,7 +214,7 @@ window.MaxExtensionButtonsInit = {
214214 if ( dups . length > 1 ) {
215215 const [ keep , ...extras ] = dups ;
216216 extras . forEach ( el => {
217- try { el . remove ( ) ; } catch ( _ ) { }
217+ try { el . remove ( ) ; } catch ( _ ) { }
218218 } ) ;
219219 existingContainer = keep ;
220220 logConCgp ( `[init] Detected and removed ${ extras . length } duplicate container(s) with id ${ containerId } .` ) ;
@@ -516,7 +516,7 @@ window.MaxExtensionButtonsInit.createUnifiedProfileSelector = function (containe
516516 const menu = document . createElement ( 'div' ) ;
517517 menu . style . cssText = `
518518 position: absolute;
519- top : calc(100% + 4px);
519+ bottom : calc(100% + 4px);
520520 left: 0;
521521 min-width: 180px;
522522 display: none;
0 commit comments