Difference between revisions of "MediaWiki:Common.js"
(Correct saveblock function) |
(Second attempt at tooltips, jQuery being a nuisance...) |
||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
$(document).bind("ready", function(){ | $(document).bind("ready", function(){ | ||
LoadBlocks(); | LoadBlocks(); | ||
+ | ptjq("[data-toggle='tooltip']").tooltip(); | ||
}); | }); | ||
function LoadBlocks(){ | function LoadBlocks(){ |
Latest revision as of 15:14, 5 October 2014
/* Any JavaScript here will be loaded for all users on every page load. */
$(document).bind("ready", function(){
LoadBlocks();
ptjq("[data-toggle='tooltip']").tooltip();
});
function LoadBlocks(){
$(".ForumSaveBlock").each(function(Index, Element){
SaveBlock(Element);
});
}