Fix Replay Bug

This commit is contained in:
oc committed 2018-11-09 00:54:49 +08:00
1 parent 4ac5dd06c5
commit 9d35872bda
1 file changed
+1 -1
+1 -1
View File
@@ -1913,7 +1913,7 @@ control.prototype.replay = function () {
core.status.event.data = {"toolsPage":Math.floor(index/12)+1, "constantsPage":1, "selectId":null};
index = index%12;
}
else if (index=constants.indexOf(itemId)>=0) {
else if ((index=constants.indexOf(itemId))>=0) {
core.status.event.data = {"toolsPage":1, "constantsPage":Math.floor(index/12)+1, "selectId":null};
index = index%12+12;
}