fix: prevent username flash on load and remove select max-width

This commit is contained in:
Laurent Dinclaux
2026-05-06 20:11:10 +11:00
parent e539c60e9b
commit c194661fa3
3 changed files with 27 additions and 6 deletions

View File

@@ -158,10 +158,6 @@ class ident_switch extends rcube_plugin
default => null,
};
if ($rc->task === 'mail') {
$this->include_stylesheet('ident_switch.css');
}
return $args;
}
@@ -218,6 +214,7 @@ class ident_switch extends rcube_plugin
return;
}
$this->include_stylesheet('ident_switch.css');
$this->include_script('ident_switch-switch.js');
// Pass config to JS environment