Changeset 21586
- Timestamp:
- 08/22/2012 06:29:42 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/js/autosave.dev.js
r21303 r21586 97 97 } 98 98 99 // 100 $('#title'). bind('keydown.editor-focus', function(e) {99 // This code is meant to allow tabbing from Title to Post content. 100 $('#title').on('keydown.editor-focus', function(e) { 101 101 var ed; 102 102 … … 108 108 ed = tinymce.get('content'); 109 109 110 if ( ed && !ed.isHidden() ) 111 $('#content_tbl td.mceToolbar > a').focus(); 112 else 110 if ( ed && !ed.isHidden() ) { 111 $(this).one('keyup', function(e){ 112 $('#content_tbl td.mceToolbar > a').focus(); 113 }); 114 } else { 113 115 $('#content').focus(); 116 } 114 117 115 118 e.preventDefault();
Note: See TracChangeset
for help on using the changeset viewer.