Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
MediaWiki:Common.js
(view source)
Revision as of 06:01, 5 August 2021
12 bytes added
,
06:01, 5 August 2021
#wagon-configurator-slots
Line 12:
Line 12:
});
});
−
$('#wagon-configurator li.wagon-slot').click(function(){
+
$('#wagon-configurator
-slots
li.wagon-slot').click(function(){
if ($('#wagon-configurator-list li.wagonNone').hasClass('selected')){
if ($('#wagon-configurator-list li.wagonNone').hasClass('selected')){
$(this).removeClass('wagon-tank wagon-storage wagon-crafter');
$(this).removeClass('wagon-tank wagon-storage wagon-crafter');
Line 21:
Line 21:
});
});
−
$('#wagon-configurator li.wagon-slot').bind('contextmenu', function(e){
+
$('#wagon-configurator
-slots
li.wagon-slot').bind('contextmenu', function(e){
e.preventDefault();
e.preventDefault();
$(this).css("background-image", 'url(' + ')');
$(this).css("background-image", 'url(' + ')');
});
});
});
});
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