• Welcome to the Kancolle Wiki!
  • If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord

Difference between revisions of "User:Dragonjet/scripts/SidebarBox.js"

From Kancolle Wiki
Jump to navigation Jump to search
(new)
 
m (not module checker)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
(function($){
 
(function($){
 
"use strict";
 
"use strict";
console.log("Sidebar Boxes v0.1");
+
console.log("Sidebar Boxes v0.5");
 
 
 
$(window).load(function(){
 
$(window).load(function(){
if($(".rsb_box").length > 0){
+
if($("div.move").length > 0){
$(".rsb_box").appendTo("#WikiaRail");
+
$("div.move").prependTo("#WikiaRail");
 +
$("div.move").show();
 
}
 
}
 
});
 
});
  
 
}(jQuery));
 
}(jQuery));

Latest revision as of 04:12, 27 December 2014

(function($){
	"use strict";
	console.log("Sidebar Boxes v0.5");
	
	$(window).load(function(){
		if($("div.move").length > 0){
			$("div.move").prependTo("#WikiaRail");
			$("div.move").show();
		}
	});

}(jQuery));