- More whitelabeling.

Thanks to xet7 !
This commit is contained in:
Lauri Ojansivu 2019-03-21 20:27:21 +02:00
parent a6213d4a6f
commit 2969161afb
16 changed files with 34 additions and 29 deletions

View file

@ -184,7 +184,7 @@ window.Popup = new class {
// positives.
const title = TAPi18n.__(translationKey);
// when popup showed as full of small screen, we need a default header to clearly see [X] button
const defaultTitle = Utils.isMiniScreen() ? 'Wekan' : false;
const defaultTitle = Utils.isMiniScreen() ? '' : false;
return title !== translationKey ? title : defaultTitle;
};
}