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

small change

parent fc66675a
Branches
No related tags found
No related merge requests found
...@@ -273,7 +273,7 @@ AppState = Backbone.Model.extend({ ...@@ -273,7 +273,7 @@ AppState = Backbone.Model.extend({
} else this.downKeys[e.keyCode] = false; } else this.downKeys[e.keyCode] = false;
// console.log(e); // console.log(e);
console.log(e.keyCode); // console.log(e.keyCode);
switch(e.keyCode){ switch(e.keyCode){
case 8://delete key - causes back nav in chrome, super annoying case 8://delete key - causes back nav in chrome, super annoying
e.preventDefault(); e.preventDefault();
...@@ -314,8 +314,7 @@ AppState = Backbone.Model.extend({ ...@@ -314,8 +314,7 @@ AppState = Backbone.Model.extend({
e.preventDefault(); e.preventDefault();
if (state && this.get("currentTab") == "animate") this.set("stockSimulationPlaying", !this.get("stockSimulationPlaying")); if (state && this.get("currentTab") == "animate") this.set("stockSimulationPlaying", !this.get("stockSimulationPlaying"));
break; break;
case 49://1-9 case 50://2-9
case 50:
case 51: case 51:
case 52: case 52:
case 53: case 53:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment