Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Vanessa219 committed Oct 29, 2023
1 parent bba40d2 commit 76113a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/protyle/wysiwyg/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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, [{
Expand Down

0 comments on commit 76113a1

Please sign in to comment.