Switched to identity operator

This commit is contained in:
Jeremiah Billmann
2013-06-27 21:20:04 -04:00
parent a7d961f53f
commit 53c92866ff
+1 -1
View File
@@ -44,7 +44,7 @@ window.GarageServerIO = (function (window, socketio) {
},
removeUpToSequence: function (seq) {
for (var i = 0; i < this.inputs.length; i ++) {
if (this.inputs[i].seq == seq) {
if (this.inputs[i].seq === seq) {
this.inputs.splice(0, i + 1);
break;
}