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