Skip to content

Commit

Permalink
Merge pull request #713 from openworm/development
Browse files Browse the repository at this point in the history
ViewController patch
  • Loading branch information
tarelli authored Nov 3, 2017
2 parents 7ef01ec + 6854fbc commit f752e67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/webapp/js/common/GEPPETTO.ViewController.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ define(function(require)
}
}

if(component !== undefined && component !== null && typeof component.setView == 'function'){
else if(component !== undefined && component !== null && typeof component.setView == 'function'){
// if the interface is exposed, set view
component.setView(componentViews[cv]);
}
Expand Down

0 comments on commit f752e67

Please sign in to comment.