MediaWiki:Common.js: Difference between revisions

From Leo's Notes
This page was last edited on 29 March 2015, at 23:12.
No edit summary
No edit summary
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. */
var SteamrWikiApp = function() {
var self = {
init : function() {
self.articleSelfSignedSSL();
},
// For the self signed SSL page
articleSelfSignedSSL : function () {
if ( ! $("#selfsigned-domain").length) {
return;
}
$("#selfsigned-domain").change(function() {
alert("HEllo");
});
},
foo : function() {}
};
self.init.apply(self);
return self;
};
$(function() {
var app = new SteamrWikiApp();
});

Revision as of 23:12, 29 March 2015

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