mirror of
https://github.com/fastmail/Squire.git
synced 2024-12-22 07:13:08 -05:00
Fix bug in cut in Safari
* Safari 6 modifies the selection when bookmarking it. Ensure it is restored before the cut takes place.
This commit is contained in:
parent
92645f1c0f
commit
388740c7f8
1 changed files with 1 additions and 0 deletions
|
@ -1196,6 +1196,7 @@
|
|||
var range = getSelection();
|
||||
recordUndoState( range );
|
||||
getRangeAndRemoveBookmark( range );
|
||||
setSelection( range );
|
||||
setTimeout( afterCut, 0 );
|
||||
}, false );
|
||||
|
||||
|
|
Loading…
Reference in a new issue