Commit 86916499 authored by Sebastien Robin's avatar Sebastien Robin

call fireEvent on the right object

parent 4525e4b7
......@@ -310,7 +310,7 @@ Storage.load({
},
fireEvent: function(event) {
Storage[event] = true;
UngObject.prototype.fireEvent(event);
UngObject.prototype.fireEvent.call(this,event);
},
updateUser: function() {localStorage[this.getUser().getName()] = JSON.stringify(this.getUser());}
});
......
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