Skip to content

Commit

Permalink
Code cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
niegowski committed Oct 5, 2023
1 parent e4b2df6 commit bdea1c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ckeditor5-widget/src/widget.ts
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ export default class Widget extends Plugin {
let element: ViewElement | null = domEventData.target;

// If triple click should select entire paragraph.
if ( element && domEventData.domEvent.detail >= 3 ) {
if ( domEventData.domEvent.detail >= 3 ) {
if ( this._selectBlockContent( element ) ) {
domEventData.preventDefault();
}
Expand Down

0 comments on commit bdea1c7

Please sign in to comment.