From ae89cfbb6b8f76b57eb5aea041c10562b52423f0 Mon Sep 17 00:00:00 2001 From: Tim Mickel Date: Fri, 2 Sep 2016 09:47:27 -0400 Subject: [PATCH] Comment nit --- src/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index fb889c9a8..e5c19ee1c 100644 --- a/src/index.js +++ b/src/index.js @@ -125,7 +125,8 @@ VirtualMachine.prototype.loadProject = function (json) { * @param {string} targetId Id of target to set as editing. */ VirtualMachine.prototype.setEditingTarget = function (targetId) { - if (targetId == this.editingTarget.id) { // No change. + // Has the target id changed? If not, exit. + if (targetId == this.editingTarget.id) { return; } var target = this.runtime.getTargetById(targetId);