mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-02 05:59:21 +03:00
js -> jsx
This commit is contained in:
parent
3bcf23f8fa
commit
08ccf55577
43 changed files with 2342 additions and 2347 deletions
|
|
@ -1,6 +1,6 @@
|
|||
|
||||
import ko from 'ko';
|
||||
import Globals from 'Common/Globals';
|
||||
import {$html, bMobileDevice} from 'Common/Globals';
|
||||
import Settings from 'Storage/Settings';
|
||||
|
||||
class AbstractAppStore
|
||||
|
|
@ -13,8 +13,8 @@ class AbstractAppStore
|
|||
this.interfaceAnimation = ko.observable(true);
|
||||
|
||||
this.interfaceAnimation.subscribe(function (bValue) {
|
||||
const bAnim = Globals.bMobileDevice || !bValue;
|
||||
Globals.$html.toggleClass('rl-anim', !bAnim).toggleClass('no-rl-anim', bAnim);
|
||||
const bAnim = bMobileDevice || !bValue;
|
||||
$html.toggleClass('rl-anim', !bAnim).toggleClass('no-rl-anim', bAnim);
|
||||
});
|
||||
|
||||
this.interfaceAnimation.valueHasMutated();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue