Ticket #29226: reset-client-window.29226.patch
| File reset-client-window.29226.patch, 520 bytes (added by , 12 years ago) |
|---|
-
src/wp-admin/js/editor.js
114 114 DOM.addClass( wrap_id, 'html-active' ); 115 115 setUserSetting( 'editor', 'html' ); 116 116 } 117 // Reset client window if necessary. 118 (function($) { 119 if ( $(document).scrollTop() > $('div#wpwrap').height()) { 120 window.scroll( 0, $('div#wpwrap').height() ); 121 } 122 })(jQuery); 117 123 return false; 118 124 }, 119 125