Anonymous user
MediaWiki:Common.js: Difference between revisions
+ Chat description
sims>Lost Labyrinth (seems I forgot to add part 2 of the report script months ago - here's hoping everything remains intact) |
sims>Lost Labyrinth (+ Chat description) |
||
Line 654:
}
});
// Change chat description
importScript('MediaWiki:Chat-headline');
function changeChatDesc() {
try {
if ($('section.ChatModule').size() > 0 && $('p.chat-name').html() != chatDesc){
$('p.chat-name').html(''+chatDesc+'');
setTimeout("changeChatDesc()", 200);
}
}catch (err){
setTimeout("changeChatDesc()", 200);
}
};
$(document).ready(function (){changeChatDesc()});
// </source>
|