diff --git src/wp-includes/js/wp-embed.js src/wp-includes/js/wp-embed.js
index db1fe5b..ea7f5eb 100644
|
|
|
31 | 31 | |
32 | 32 | /* Resize the iframe on request. */ |
33 | 33 | if ( 'height' === data.message ) { |
34 | | height = data.value; |
| 34 | height = parseInt( data.value, 10 ); |
35 | 35 | if ( height > 1000 ) { |
36 | 36 | height = 1000; |
37 | | } else if ( height < 200 ) { |
| 37 | } else if ( ~~height < 200 ) { |
38 | 38 | height = 200; |
39 | 39 | } |
40 | 40 | |
41 | | source.height = (height) + 'px'; |
| 41 | source.height = height; |
42 | 42 | } |
43 | 43 | |
44 | 44 | /* Link to a specific URL on request. */ |