diff --git a/app/src/protyle/wysiwyg/index.ts b/app/src/protyle/wysiwyg/index.ts index 7dfdb1942..0c587674f 100644 --- a/app/src/protyle/wysiwyg/index.ts +++ b/app/src/protyle/wysiwyg/index.ts @@ -395,7 +395,7 @@ export class WYSIWYG { documentSelf.ondragstart = null; documentSelf.onselectstart = null; documentSelf.onselect = null; - if (!newWidth || newWidth !== oldWidth + "px") { + if (!newWidth || newWidth === oldWidth + "px") { return; } transaction(protyle, [{