80
edits
Peteforsyth (talk | contribs) (create gadget) |
Peteforsyth (talk | contribs) (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 = ' | TogetherJSConfig_siteName = 'Sudo Room'; | ||
TogetherJSConfig_toolName = 'CollabOERate'; | TogetherJSConfig_toolName = 'CollabOERate'; | ||
TogetherJSConfig_getUserName = function () {return wgUserName;}; | TogetherJSConfig_getUserName = function () {return wgUserName;}; | ||
}); | }); | ||
}); | }); |