[FIX] web_editor: update odoo-editor lib to commit 77a1e98

X-original-commit: ea86110cc781b603a6665523cd4359a405f5babd
This commit is contained in:
Sébastien Geelen (sge)
2021-05-03 07:48:18 +00:00
parent 0626ad78ef
commit 7845a77c61
@@ -4995,6 +4995,15 @@ var exportVariable = (function (exports) {
this._positionToolbar();
}
}
updateToolbarPosition() {
if (
this.options.autohideToolbar &&
!this.isMobile &&
getComputedStyle(this.toolbar).visibility === 'visible'
) {
this._positionToolbar();
}
}
_positionToolbar() {
const OFFSET = 10;
let isBottom = false;