use auto-clearable class
to set popup type
This commit is contained in:
parent
a35405500e
commit
b42da19be5
|
@ -1,4 +1,4 @@
|
|||
.compact-layout #help-popup[data-type="styleSettings"] {
|
||||
.compact-layout #help-popup.style-settings-popup {
|
||||
width: 90%;
|
||||
}
|
||||
.style-settings {
|
||||
|
|
|
@ -27,7 +27,7 @@ function StyleSettings() {
|
|||
$create('button', {onclick: helpPopup.close}, t('confirmClose')),
|
||||
]),
|
||||
]));
|
||||
$('#help-popup').dataset.type = 'styleSettings';
|
||||
$('#help-popup').className = 'style-settings-popup';
|
||||
moveFocus(ui, 0);
|
||||
|
||||
function textToList(text) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user