Skip to content

Commit

Permalink
Merge pull request #712 from openworm/0.3.8-fixes
Browse files Browse the repository at this point in the history
fix glitch with setViews
  • Loading branch information
tarelli authored Nov 3, 2017
2 parents 0158cbc + ea10b93 commit 6854fbc
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 6854fbc

Please sign in to comment.