Changeset 300
- Timestamp:
- 01/20/2014 07:10:48 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/style/trac/wp-trac.js
r298 r300 108 108 } 109 109 hadClass = modify.hasClass('collapsed'); 110 // Prevent re-rendering of image previews and other changes from causing "jumps" while writing a comment. 111 $(document.head).append( '<style id="changelog-height"> #changelog { height: ' + $('#changelog').height() + 'px !important; } </style>' ); 110 112 }); 111 113 $(document).ajaxComplete( function( event, XMLHttpRequest, ajaxOptions ) { … … 117 119 } 118 120 content.triggerHandler( 'wpTracPostPreview' ); 121 window.setTimeout( function() { $('#changelog-height').remove(); }, 200 ); 119 122 }); 120 123 })();
Note: See TracChangeset
for help on using the changeset viewer.