Difference between revisions of "MediaWiki:Gadget-CollabOERate.js"

localize!
(create gadget)
 
(localize!)
 
Line 12: Line 12:
   $.getScript('https://togetherjs.com/togetherjs-min.js', function() {
   $.getScript('https://togetherjs.com/togetherjs-min.js', function() {
     $('#p-tb ul').append('<li style="margin-top: 1em;"><button id="collaboerate" onclick="TogetherJS(this); return false;">CollabOERate</button></li>');
     $('#p-tb ul').append('<li style="margin-top: 1em;"><button id="collaboerate" onclick="TogetherJS(this); return false;">CollabOERate</button></li>');
     TogetherJSConfig_siteName = 'WikiEducator';
     TogetherJSConfig_siteName = 'Sudo Room';
     TogetherJSConfig_toolName = 'CollabOERate';
     TogetherJSConfig_toolName = 'CollabOERate';
     TogetherJSConfig_getUserName = function () {return wgUserName;};
     TogetherJSConfig_getUserName = function () {return wgUserName;};
   });
   });
});
});