Changeset 31466
- Timestamp:
- 02/15/2015 06:18:06 PM (11 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/js/mce-view.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/js/mce-view.js
r31343 r31466 208 208 209 209 resize = function() { 210 var $iframe, iframeDocHeight; 211 210 212 // Make sure the iframe still exists. 211 iframe.contentWindow && $( iframe ).height( $( iframeDoc.body ).height() ); 213 if ( iframe.contentWindow ) { 214 $iframe = $( iframe ); 215 iframeDocHeight = $( iframeDoc.body ).height(); 216 217 if ( $iframe.height() !== iframeDocHeight ) { 218 $iframe.height( iframeDocHeight ); 219 editor.nodeChanged(); 220 } 221 } 212 222 }; 213 223
Note: See TracChangeset
for help on using the changeset viewer.