Difference between revisions of "MediaWiki:Common.js/sources.js"

m
m
Line 3: Line 3:
  
 
if (isTesting && window.jQuery) {
 
if (isTesting && window.jQuery) {
     document.getElementById('wpUploadDescription').style.backgroundColor = 'black';
+
     jQuery(document).ready(function() {
 +
        jQuery('#wpUploadDescription').css('border', '5px solid red');
 
}
 
}
  
 
//</source>
 
//</source>

Revision as of 16:20, 17 April 2010

/* Any JavaScript here will be loaded for all users on the upload page. */
//<source lang="javascript">

if (isTesting && window.jQuery) {
    jQuery(document).ready(function() {
        jQuery('#wpUploadDescription').css('border', '5px solid red');
}

//</source>