mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 20:49:20 +03:00
Cleanup some unused code
This commit is contained in:
parent
f706e14a2f
commit
b3b8c97b00
4 changed files with 12 additions and 15 deletions
|
|
@ -26,15 +26,12 @@ class AbstractCheckbox extends AbstractComponent {
|
|||
this.label = params.label || '';
|
||||
this.inline = !!params.inline;
|
||||
|
||||
this.readOnly = !!params.readOnly;
|
||||
this.inverted = !!params.inverted;
|
||||
|
||||
this.labeled = undefined !== params.label;
|
||||
this.labelAnimated = !!params.labelAnimated;
|
||||
}
|
||||
|
||||
click() {
|
||||
if (!this.readOnly && this.enable() && !this.disable()) {
|
||||
if (this.enable() && !this.disable()) {
|
||||
this.value(!this.value());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@
|
|||
background: #fff;
|
||||
border-radius: 3px;
|
||||
border: 1px solid #999;
|
||||
content : attr(data-rainloopTip);
|
||||
content: attr(data-rainloopTip);
|
||||
font-size: 13px;
|
||||
left: 100%;
|
||||
opacity : 0;
|
||||
|
|
@ -53,8 +53,8 @@
|
|||
}
|
||||
[data-rainloopErrorTip]::before {
|
||||
color: red;
|
||||
content : attr(data-rainloopErrorTip);
|
||||
opacity : 1;
|
||||
content: attr(data-rainloopErrorTip);
|
||||
opacity: 1;
|
||||
}
|
||||
[data-tooltip]:hover::before {
|
||||
opacity : 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue