mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-28 19:49:20 +03:00
Removed inline parameter of checkbox and select components
This commit is contained in:
parent
c503aaca1d
commit
63316be535
7 changed files with 16 additions and 34 deletions
|
|
@ -36,9 +36,6 @@ export class AbstractApp {
|
|||
createViewModel: (params, componentInfo) => {
|
||||
params = params || {};
|
||||
i18nToNodes(componentInfo.element);
|
||||
if (params.inline) {
|
||||
componentInfo.element.style.display = 'inline-block';
|
||||
}
|
||||
return new ClassObject(params);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@ export class CheckboxComponent {
|
|||
: ko.observable(undefined === params.enable || !!params.enable);
|
||||
|
||||
this.label = params.label;
|
||||
this.inline = params.inline;
|
||||
}
|
||||
|
||||
click() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue