Difference between revisions of "MediaWiki:Common.js"

From The PS/2 Project
Jump to: navigation, search
Line 1: Line 1:
 
/* Any JavaScript here will be loaded for all users on every page load. */
 
/* Any JavaScript here will be loaded for all users on every page load. */
 
$( "a.new" ).each(function( i ) {
 
$( "a.new" ).each(function( i ) {
console.log(this);
+
console.log(this.href);
 
});
 
});

Revision as of 18:29, 9 December 2017

/* Any JavaScript here will be loaded for all users on every page load. */
$( "a.new" ).each(function( i ) {
console.log(this.href);
});