Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
MediaWiki:Common.js
(view source)
Revision as of 00:22, 4 August 2021
77 bytes added
,
00:22, 4 August 2021
no edit summary
Line 13:
Line 13:
$('#wagon-configurator li.wagon-slot').click(function(){
$('#wagon-configurator li.wagon-slot').click(function(){
−
$(this).removeClass('wagon-tank wagon-storage wagon-crafter');
+
if ($('#wagon-configurator-list li.wagonNone').hasClass('selected')){
+
$(this).removeClass('wagon-tank wagon-storage wagon-crafter');
+
}
wagonConfiguratorList = $('#wagon-configurator-list li.selected')[0].classList[0];
wagonConfiguratorList = $('#wagon-configurator-list li.selected')[0].classList[0];
window['wagonConfiguratorList'] = wagonConfiguratorList;
window['wagonConfiguratorList'] = wagonConfiguratorList;
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