From 75a3367a8a96a1f64aed7485cf6033ebda7c4e10 Mon Sep 17 00:00:00 2001 From: georgyb Date: Wed, 9 Jan 2019 15:58:18 +0300 Subject: [PATCH] Fix --- dist/codex-editor.js | 2 +- src/components/modules/toolbar/inline.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/codex-editor.js b/dist/codex-editor.js index 9e850e95..2b4d58c0 100644 --- a/dist/codex-editor.js +++ b/dist/codex-editor.js @@ -21347,7 +21347,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_ name = _ref4[0], button = _ref4[1]; - button.classList.remove(_this3.CSS.actionsWrapperOpened); + button.classList.remove(_this3.CSS.inlineToolButtonPinch); }); this.nodes.buttons.style.minWidth = ''; this.nodes.actions.style.width = ''; diff --git a/src/components/modules/toolbar/inline.ts b/src/components/modules/toolbar/inline.ts index a500fcc8..a4b2b25b 100644 --- a/src/components/modules/toolbar/inline.ts +++ b/src/components/modules/toolbar/inline.ts @@ -243,7 +243,7 @@ export default class InlineToolbar extends Module { // Array.from(this.nodes.actions.children).forEach((child) => child.remove()); Object.entries(this.toolsButtons).forEach(([name, button]) => { - button.classList.remove(this.CSS.actionsWrapperOpened); + button.classList.remove(this.CSS.inlineToolButtonPinch); }); this.nodes.buttons.style.minWidth = '';