Commit ea274153 authored by Pietro Albini's avatar Pietro Albini

Show the alert also for #ubuntu-it

parent 5174c2c8
......@@ -88,8 +88,8 @@
<div id="chat" style="display: none;">
<div id="content-top"></div>
<div class="container">
<div class="comunita-notice" id="chat-notice" style="display: none; padding-top: 5px">
<b>Attenzione!</b> Per parlare nel canale #ubuntu-it-chat è necessario
<div class="comunita-notice" id="nicksrv-notice" style="display: none; padding-top: 5px">
<b>Attenzione!</b> Per parlare nel canale è necessario
<a href="https://freenode.net/kb/answer/registration">
registrare un nickname</a>.
</div>
......@@ -136,8 +136,8 @@
// force reload the iframe, which was denied by security limits
function join(channel) {
if (channel === "#ubuntu-it-chat") {
$('#chat-notice').show();
if (channel === "#ubuntu-it-chat" || channel == "#ubuntu-it") {
$('#nicksrv-notice').show();
}
document.getElementById('chat_frame').contentWindow.location.reload(true);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment