File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ export class Mover {
128128 // Set up a blur listener to end the move if the user clicks away
129129 const blurListener = ( ) => {
130130 this . finishMove ( workspace ) ;
131- }
131+ } ;
132132 // Record that a move is in progress and start dragging.
133133 workspace . setKeyboardMoveInProgress ( true ) ;
134134 const info = new MoveInfo ( block , dragger , blurListener ) ;
@@ -139,7 +139,7 @@ export class Mover {
139139 // In case the block is detached, ensure that it still retains focus
140140 // (otherwise dragging will break).
141141 getFocusManager ( ) . focusNode ( block ) ;
142- block . getFocusableElement ( ) . addEventListener ( 'blur' , blurListener )
142+ block . getFocusableElement ( ) . addEventListener ( 'blur' , blurListener ) ;
143143 return true ;
144144 }
145145
@@ -158,7 +158,9 @@ export class Mover {
158158 if ( ! info ) throw new Error ( 'no move info for workspace' ) ;
159159
160160 // Remove the blur listener before ending the drag
161- info . block . getFocusableElement ( ) . removeEventListener ( 'blur' , info . blurListener ) ;
161+ info . block
162+ . getFocusableElement ( )
163+ . removeEventListener ( 'blur' , info . blurListener ) ;
162164
163165 info . dragger . onDragEnd (
164166 info . fakePointerEvent ( 'pointerup' ) ,
You can’t perform that action at this time.
0 commit comments