User:Fran Rogers/dimorphism.js: Difference between revisions

Content deleted Content added
m Remove legacy globals per phab:T72470 (via WP:JWB)
maintenance: more info ReferenceError: sajax_init_object is not defined
 
Line 10:
!/\//.test(mw.config.get('wgTitle'))) {
// add a hook to...
addOnloadHook$(function() {
 
if(typeof sajax_init_object === 'undefined') return;
// init AJAX and request the user's gender from the API
var a = sajax_init_object();