fixed incoming messages

This commit is contained in:
Marek Kotewicz 2015-01-28 10:50:24 +01:00
parent 1345a8c67c
commit 63d9c070ef
4 changed files with 4 additions and 4 deletions

2
dist/ethereum.js vendored
View File

@ -608,7 +608,7 @@ Filter.prototype.changed = function(callback) {
/// trigger calling new message from people /// trigger calling new message from people
Filter.prototype.trigger = function(messages) { Filter.prototype.trigger = function(messages) {
for (var i = 0; i < this.callbacks.length; i++) { for (var i = 0; i < this.callbacks.length; i++) {
for (var j = 0; j < messages; j++) { for (var j = 0; j < messages.length; j++) {
this.callbacks[i].call(this, messages[j]); this.callbacks[i].call(this, messages[j]);
} }
} }

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -48,7 +48,7 @@ Filter.prototype.changed = function(callback) {
/// trigger calling new message from people /// trigger calling new message from people
Filter.prototype.trigger = function(messages) { Filter.prototype.trigger = function(messages) {
for (var i = 0; i < this.callbacks.length; i++) { for (var i = 0; i < this.callbacks.length; i++) {
for (var j = 0; j < messages; j++) { for (var j = 0; j < messages.length; j++) {
this.callbacks[i].call(this, messages[j]); this.callbacks[i].call(this, messages[j]);
} }
} }