Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
MediaWiki:Common.js
(view source)
Revision as of 23:09, 2 August 2021
59 bytes removed
,
23:09, 2 August 2021
no edit summary
Line 17:
Line 17:
$('#wagon-configurator li.wagon-slot').click(function(){
$('#wagon-configurator li.wagon-slot').click(function(){
wagonConfiguratorList = $('#wagon-configurator-list li.selected')[0].classList[0];
wagonConfiguratorList = $('#wagon-configurator-list li.selected')[0].classList[0];
−
window['wagonConfiguratorList'] = wagonConfiguratorList;
$(this).css("background-image", `url(${wagonImages[wagonConfiguratorList]})`);
$(this).css("background-image", `url(${wagonImages[wagonConfiguratorList]})`);
alert("You selected " + wagonConfiguratorList);
alert("You selected " + 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