Commit 892e21db71a0b654766f32ed5a31ffdece4b3c43

Authored by Rodrigo Souto
1 parent 3ae9623b

Fix open chat window

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
public/javascripts/chat.js
... ... @@ -676,7 +676,7 @@ jQuery(function($) {
676 676 if(!$('#chat').is(':visible') || window.isHidden()) {
677 677 var options = {body: message.body, icon: avatar, tag: jid_id};
678 678 notifyMe(name, options).onclick = function(){
679   - open_chat_window(this, '#'+jid);
  679 + open_chat_window(null, '#'+jid);
680 680 };
681 681 $.sound.play('/sounds/receive.wav');
682 682 }
... ...