mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2025-10-04 00:02:07 -04:00
17 lines
477 B
JavaScript
17 lines
477 B
JavaScript
// redirect to mailcow login form
|
|
document.addEventListener('DOMContentLoaded', function () {
|
|
var loginForm = document.forms.namedItem("loginForm");
|
|
if (loginForm) {
|
|
window.location.href = '/user';
|
|
}
|
|
});
|
|
|
|
// Custom SOGo JS
|
|
|
|
// Change the visible font-size in the editor, this does not change the font of a html message by default
|
|
CKEDITOR.addCss("body {font-size: 16px !important}");
|
|
|
|
// Enable scayt by default
|
|
//CKEDITOR.config.scayt_autoStartup = true;
|
|
|