• 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
m (logging v2)
(v0.3: prependTo, show())
Line 1: Line 1:
 
(function($){
 
(function($){
 
"use strict";
 
"use strict";
console.log("Sidebar Boxes v0.2");
+
console.log("Sidebar Boxes v0.3");
 
 
 
$(window).load(function(){
 
$(window).load(function(){
 
if($("div.module.move").length > 0){
 
if($("div.module.move").length > 0){
$("div.module.move").appendTo("#WikiaRail");
+
$("div.module.move").prependTo("#WikiaRail");
console.log($("div.module.move").text());
+
$("div.module.move").show();
 
}
 
}
 
});
 
});
  
 
}(jQuery));
 
}(jQuery));

Revision as of 03:33, 27 December 2014

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

}(jQuery));