Difference between revisions of "MediaWiki:Common.js"
Jump to navigation
Jump to search
(New custom code for Meetup events) |
m (Bug fix) |
||
| Line 11: | Line 11: | ||
} | } | ||
| − | }(); | + | }()); |
Revision as of 01:03, 12 April 2022
/* Any JavaScript here will be loaded for all users on every page load. */
/* Reference: https://www.mediawiki.org/wiki/Adding_JavaScript_to_Wiki_Pages */
$(function() {
// If meetup events module loaded, then load event data onto certain pages
if ( $.type( tm_load_todays_events ) === "function" ) {
if ( $("events-listing").length )
tm_load_todays_events();
}
}());