Difference between revisions of "MediaWiki:Common.js"

From Marathon Documentation
Jump to: navigation, search
(Created page with "Any JavaScript here will be loaded for all users on every page load.: function open_in_mmv(href) { var t = $('a.image[href="' + (href || this.href) + '"]'); return t &&...")
(No difference)

Revision as of 11:30, 9 October 2014

/* Any JavaScript here will be loaded for all users on every page load. */

function open_in_mmv(href) { var t = $('a.image[href="' + (href || this.href) + '"]'); return t && t.length ? !(t.click() !== false) : true; }