Changeset 50541 for trunk/src/wp-admin/includes/template.php
- Timestamp:
- 03/18/2021 02:11:55 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/template.php
r50434 r50541 2026 2026 ?> 2027 2027 <script type="text/javascript"> 2028 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();}}};2028 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();}}}; 2029 2029 function tb_close(){var win=window.dialogArguments||opener||parent||top;win.tb_remove();} 2030 2030 var ajaxurl = '<?php echo esc_js( admin_url( 'admin-ajax.php', 'relative' ) ); ?>', … … 2116 2116 ?> 2117 2117 </div> 2118 <script type="text/javascript">if(typeof wpOnload== "function")wpOnload();</script>2118 <script type="text/javascript">if(typeof wpOnload==='function')wpOnload();</script> 2119 2119 </body> 2120 2120 </html>
Note: See TracChangeset
for help on using the changeset viewer.