mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-02 22:17:03 +03:00
Drop windowResize/windowResizeCallback in favor of ResizeObservable
This commit is contained in:
parent
e192b60d69
commit
7a21694396
14 changed files with 25 additions and 110 deletions
|
|
@ -6,7 +6,6 @@ import {
|
|||
pInt,
|
||||
pString,
|
||||
plainToHtml,
|
||||
windowResize,
|
||||
findEmailAndLinks
|
||||
} from 'Common/Utils';
|
||||
|
||||
|
|
@ -457,7 +456,6 @@ class MessageUserStore {
|
|||
.insertBefore($this)
|
||||
.on('click.rlBlockquoteSwitcher', () => {
|
||||
$this.toggleClass('hidden-bq');
|
||||
windowResize();
|
||||
})
|
||||
.after('<br />')
|
||||
.before('<br />');
|
||||
|
|
@ -646,8 +644,6 @@ class MessageUserStore {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
windowResize();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue