mirror of
https://github.com/wassname/GarageServer.IO.git
synced 2026-07-10 00:20:07 +08:00
Switched to identity operator
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user