Pārlūkot izejas kodu

Multiple bind

Restoring a chatbox wasnt unbinding event then the unread counter for a chatbox was multiply by the time you minized it.
Deuteu 11 gadi atpakaļ
vecāks
revīzija
9a8d1921c7
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      converse.js

+ 1 - 0
converse.js

@@ -3079,6 +3079,7 @@
                 if (ev && ev.preventDefault) {
                     ev.preventDefault();
                 }
+                this.model.messages.off('add',null,this);
                 this.remove();
                 this.model.maximize();
             }, 200)