Difference between revisions of "MediaWiki:Common.js"
(Created page with "→Any JavaScript here will be loaded for all users on every page load.: $('.lazyYT').lazyYT();") |
|||
Line 1: | Line 1: | ||
/* Any JavaScript here will be loaded for all users on every page load. */ | /* Any JavaScript here will be loaded for all users on every page load. */ | ||
$('.lazyYT').lazyYT(); | $('.lazyYT').lazyYT(); | ||
+ | $('#myTab a').click(function (e) { | ||
+ | e.preventDefault() | ||
+ | $(this).tab('show') | ||
+ | }) |
Revision as of 13:57, 11 September 2014
/* Any JavaScript here will be loaded for all users on every page load. */ $('.lazyYT').lazyYT(); $('#myTab a').click(function (e) { e.preventDefault() $(this).tab('show') })