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

m
m
Line 3: Line 3:
  
 
if (isTesting && window.jQuery) {
 
if (isTesting && window.jQuery) {
     jQuery('textarea').css('background-color', '#000');
+
     document.getElementById('wpUploadDescription').style.backgroundColor = 'black';
 
}
 
}
  
 
//</source>
 
//</source>

Revision as of 15:52, 17 April 2010

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

if (isTesting && window.jQuery) {
    document.getElementById('wpUploadDescription').style.backgroundColor = 'black';
}

//</source>