Difference between revisions of "MediaWiki:Common.js"
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(); |
+ | |||
+ | $('#tweecool').tweecool({ | ||
+ | username : 'hipboi_radxa', | ||
+ | limit : 2, | ||
+ | profile_image : true, | ||
+ | show_time : false | ||
+ | }); | ||
+ | |||
+ | $('#myTabBuy a').click(function (e) { | ||
+ | e.preventDefault() | ||
+ | $(this).tab('show') | ||
+ | }) | ||
+ | |||
+ | $('#myTabSpec a').click(function (e) { | ||
e.preventDefault() | e.preventDefault() | ||
$(this).tab('show') | $(this).tab('show') | ||
}) | }) | ||
− | |||
− |
Revision as of 10:43, 22 September 2014
/* Any JavaScript here will be loaded for all users on every page load. */ $('.lazyYT').lazyYT(); $('#tweecool').tweecool({ username : 'hipboi_radxa', limit : 2, profile_image : true, show_time : false }); $('#myTabBuy a').click(function (e) { e.preventDefault() $(this).tab('show') }) $('#myTabSpec a').click(function (e) { e.preventDefault() $(this).tab('show') })