Skip to content
Snippets Groups Projects
Commit 62e4c906 authored by Amanda Ghassaei's avatar Amanda Ghassaei
Browse files

a few small changes

parent 4c8b2961
Branches
No related tags found
No related merge requests found
......@@ -16,7 +16,6 @@ AppState = Backbone.Model.extend({
lastSimulationTab: "physics",
lastAssembleTab: "assembler",
lattice: null,
menuWrapper: null,
allCellTypes: {octa:"Octahedron", cube:"Cube"},
......@@ -56,9 +55,9 @@ AppState = Backbone.Model.extend({
this.listenTo(this, "change:currentNav", this._updateCurrentTabForNav);
this.listenTo(this, "change:currentTab", this._updateCellMode);
this.set("lattice", options.lattice);
this.lattice = options.lattice;//this doesn't need to be tracked for changes
this.set("menuWrapper", new MenuWrapper({model: this, lattice:this.get("lattice")}));
this.set("menuWrapper", new MenuWrapper({model: this, lattice:this.lattice}));
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment