User:Psl631/common.js: Difference between revisions
Content added Content deleted
No edit summary |
No edit summary |
||
Line 77: | Line 77: | ||
"use strict"; |
"use strict"; |
||
document.getElementById( "t-upload" ).addEventListener( "click", function( evt ) { |
document.getElementById( "t-upload" ).addEventListener( "click", function( evt ) { |
||
if ( !alert( "Please upload files to |
if ( !alert( "Please upload files to Commons. Images used here are hosted by Wikimedia Commons." ) ) { |
||
evt.preventDefault(); |
evt.preventDefault(); |
||
} |
} |