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

m
m
Line 5: Line 5:
 
     jQuery(document).ready(function() {
 
     jQuery(document).ready(function() {
 
         jQuery('#wpUploadDescription').css('border', '5px solid red');
 
         jQuery('#wpUploadDescription').css('border', '5px solid red');
 +
    });
 
}
 
}
  
 
//</source>
 
//</source>

Revision as of 16:22, 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>