Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
Merge pull request #33 from jshortall/master
Browse files Browse the repository at this point in the history
fix closeQuery to only close itself
  • Loading branch information
kevinpschaaf committed Feb 2, 2015
2 parents 9636299 + 84835cd commit 99d8e94
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion firebase-element.html
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,10 @@ <h3>My Firebase Data</h3>
},
closeQuery: function() {
if (this.query) {
this.query.off();
this.query.off('child_added', this.childAdded, this);
this.query.off('child_changed', this.childChanged, this);
this.query.off('child_moved', this.childMoved, this);
this.query.off('child_removed', this.childRemoved, this);
}
},
//
Expand Down

0 comments on commit 99d8e94

Please sign in to comment.