mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-10-31 14:10:08 +00:00
Merge branch 'master' into chatTemplate
This commit is contained in:
commit
7a86d60c6f
@ -13,9 +13,16 @@ if (typeof TimWolla.WCF == 'undefined') TimWolla.WCF = {};
|
|||||||
(function ($, document) {
|
(function ($, document) {
|
||||||
TimWolla.WCF.Chat = {
|
TimWolla.WCF.Chat = {
|
||||||
init: function(roomID, messageID) {
|
init: function(roomID, messageID) {
|
||||||
|
this.bindEvents();
|
||||||
|
},
|
||||||
|
bindEvents: function() {
|
||||||
$('.smiley').click(function(event) {
|
$('.smiley').click(function(event) {
|
||||||
alert($(event.target).attr('alt'));
|
alert($(event.target).attr('alt'));
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$(window).bind('beforeunload', function() {
|
||||||
|
return false;
|
||||||
|
});
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
})(jQuery, document);
|
})(jQuery, document);
|
@ -1 +1 @@
|
|||||||
{if $templateName == 'chat'}{lang}wcf.chat.copyright{/lang}{/if}
|
{if $templateName == 'chat'}<address class="copyright">{lang}wcf.chat.copyright{/lang}</address>{/if}
|
Loading…
Reference in New Issue
Block a user