Changeset 36648
- Timestamp:
- 02/23/2016 08:22:41 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/js/wp-embed.js
r35762 r36648 87 87 return; 88 88 } 89 89 90 loaded = true; 90 91 … … 92 93 isIE11 = !!navigator.userAgent.match( /Trident.*rv:11\./ ), 93 94 iframes = document.querySelectorAll( 'iframe.wp-embedded-content' ), 94 blockquotes = document.querySelectorAll( 'blockquote.wp-embedded-content' ),95 95 iframeClone, i, source, secret; 96 97 for ( i = 0; i < blockquotes.length; i++ ) {98 blockquotes[ i ].style.display = 'none';99 }100 96 101 97 for ( i = 0; i < iframes.length; i++ ) { 102 98 source = iframes[ i ]; 103 source.style.display = '';104 99 105 100 if ( source.getAttribute( 'data-secret' ) ) {
Note: See TracChangeset
for help on using the changeset viewer.