mirror of
https://github.com/ankitects/anki.git
synced 2025-12-10 21:36:55 -05:00
Fix reversed sticky icon logic
This commit is contained in:
parent
acb912697e
commit
475b1968d0
1 changed files with 1 additions and 1 deletions
|
|
@ -47,7 +47,7 @@ export class LabelContainer extends HTMLDivElement {
|
||||||
}
|
}
|
||||||
|
|
||||||
setSticky(state: boolean): void {
|
setSticky(state: boolean): void {
|
||||||
this.sticky.classList.toggle("is-inactive", state);
|
this.sticky.classList.toggle("is-inactive", !state);
|
||||||
}
|
}
|
||||||
|
|
||||||
activateSticky(initialState: boolean): void {
|
activateSticky(initialState: boolean): void {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue