mirror of
https://github.com/fastmail/Squire.git
synced 2025-01-03 05:00:13 -05:00
Fix method call names in _onCut handler.
This commit is contained in:
parent
731a1da910
commit
f918a0106b
3 changed files with 7 additions and 7 deletions
|
@ -2457,9 +2457,9 @@ var afterCut = function ( self ) {
|
|||
proto._onCut = function () {
|
||||
// Save undo checkpoint
|
||||
var range = this.getSelection();
|
||||
this.recordUndoState( range );
|
||||
this.getRangeAndRemoveBookmark( range );
|
||||
this._setSelection( range );
|
||||
this._recordUndoState( range );
|
||||
this._getRangeAndRemoveBookmark( range );
|
||||
this.setSelection( range );
|
||||
setTimeout( function () { afterCut( this ); }, 0 );
|
||||
};
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1410,9 +1410,9 @@ var afterCut = function ( self ) {
|
|||
proto._onCut = function () {
|
||||
// Save undo checkpoint
|
||||
var range = this.getSelection();
|
||||
this.recordUndoState( range );
|
||||
this.getRangeAndRemoveBookmark( range );
|
||||
this._setSelection( range );
|
||||
this._recordUndoState( range );
|
||||
this._getRangeAndRemoveBookmark( range );
|
||||
this.setSelection( range );
|
||||
setTimeout( function () { afterCut( this ); }, 0 );
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue