Changeset 50541 for trunk/src/wp-admin/includes/media.php
- Timestamp:
- 03/18/2021 02:11:55 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/media.php
r50505 r50541 534 534 ?> 535 535 <script type="text/javascript"> 536 addLoadEvent = function(func){if(typeof jQuery!= "undefined")jQuery(document).ready(func);else if(typeof wpOnload!='function'){wpOnload=func;}else{var oldonload=wpOnload;wpOnload=function(){oldonload();func();}}};536 addLoadEvent = function(func){if(typeof jQuery!=='undefined')jQuery(document).ready(func);else if(typeof wpOnload!=='function'){wpOnload=func;}else{var oldonload=wpOnload;wpOnload=function(){oldonload();func();}}}; 537 537 var ajaxurl = '<?php echo esc_js( admin_url( 'admin-ajax.php', 'relative' ) ); ?>', pagenow = 'media-upload-popup', adminpage = 'media-upload-popup', 538 538 isRtl = <?php echo (int) is_rtl(); ?>; … … 608 608 609 609 ?> 610 <script type="text/javascript">if(typeof wpOnload== 'function')wpOnload();</script>610 <script type="text/javascript">if(typeof wpOnload==='function')wpOnload();</script> 611 611 </body> 612 612 </html>
Note: See TracChangeset
for help on using the changeset viewer.