Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
MediaWiki:Common.js
(view source)
Revision as of 17:55, 2 August 2021
93 bytes added
,
17:55, 2 August 2021
no edit summary
Line 4:
Line 4:
$(this).addClass('selected');
$(this).addClass('selected');
$(this).siblings().removeClass('selected');
$(this).siblings().removeClass('selected');
−
alert(
$(this).attr('class'));
+
var wagonClass =
$(this).attr('class')
;
+
var wagonSelection = $(classString).text().split(' ')[0];
+
alert(wagonSelection
);
});
});
Stencil
Bureaucrats
,
Interface administrators
,
Administrators
519
edits
Navigation menu
Personal tools
Create account
Log in
Namespaces
Message
Discussion
Variants
Views
Read
View source
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
Special pages
Printable version