mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-10-08 13:44:18 +00:00
Switch form focus to focusout, this allows the focus to stay if the cursor leaves the table, though it will commit the change and refocus
This commit is contained in:
parent
d82f912319
commit
d0ed9d1fa7
@ -101,7 +101,7 @@
|
|||||||
if ( c.$table.data('contentFocused') ) {
|
if ( c.$table.data('contentFocused') ) {
|
||||||
// change to "true" instead of element to allow focusout to process
|
// change to "true" instead of element to allow focusout to process
|
||||||
c.$table.data( 'contentFocused', true );
|
c.$table.data( 'contentFocused', true );
|
||||||
$(':focus').trigger('blur');
|
$(':focus').trigger('focusout');
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.on('focus.tseditable', '[contenteditable]', function(e){
|
.on('focus.tseditable', '[contenteditable]', function(e){
|
||||||
|
Loading…
Reference in New Issue
Block a user