mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-24 06:52:40 -05:00
Comment nit
This commit is contained in:
parent
020250e258
commit
ae89cfbb6b
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue