diff --git a/js/menus/LatticeMenuView.js b/js/menus/LatticeMenuView.js index ad42225eb63770066efd693ac50dc7da0c97824d..8d123555ca1f48fa5c438903ff1846903a80e381 100644 --- a/js/menus/LatticeMenuView.js +++ b/js/menus/LatticeMenuView.js @@ -81,7 +81,7 @@ LatticeMenuView = Backbone.View.extend({ _setAppStateToDefaultsSilently: function(newCellType, newConnectionType){ if (!newConnectionType){ - newConnectionType = "face"; + newConnectionType = _.keys(dmaGlobals.appState.get("allConnectionTypes")[newCellType])[0]; this.lattice.set("connectionType", newConnectionType, {silent:true}); } this.model.set("connectionType", newConnectionType, {silent:true});