Skip to content

Commit

Permalink
issue #887 add IE and Edge compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
bjost2s committed Oct 20, 2020
1 parent d21a3cd commit 9e0361e
Show file tree
Hide file tree
Showing 6 changed files with 605 additions and 619 deletions.
Expand Up @@ -193,7 +193,7 @@ define(["require", "exports", "./wires", "./const.robots", "./robotBlock", "./po
};
};
CircuitVisualization.isRobotVisualized = function (robotGroup, robot) {
return const_robots_1.ROBOTS[robotGroup] || const_robots_1.ROBOTS[robotGroup + "_" + robot] !== undefined;
return const_robots_1.ROBOTS[robotGroup + "_" + robot] || const_robots_1.ROBOTS[robotGroup] !== undefined;
};
CircuitVisualization.prototype.reset = function () {
var currentRobot = this.workspace.device + "_" + this.workspace.subDevice;
Expand Down

0 comments on commit 9e0361e

Please sign in to comment.