Skip to content

Commit 0b692d3

Browse files
committed
bam
1 parent 353ec11 commit 0b692d3

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

‎v3/js/opt-frontend-common.js‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1531,6 +1531,12 @@ function executeCodeAndCreateViz(codeToExec,
15311531

15321532
// bind keyboard shortcuts if we're not in embedded mode
15331533
// (i.e., in an iframe)
1534+
//
1535+
// on second thought, eliminate keyboard shortcuts for now
1536+
// since it's kind of annoying to be pressing left/right to move
1537+
// the page horizontally and then also have the visualizer jump.
1538+
// ugh there isn't a perfect solution here for now:
1539+
/*
15341540
if (!myVisualizer.embeddedMode) {
15351541
$(document).off('keydown'); // clear first before rebinding, just to be paranoid
15361542
$(document).keydown(function(e) {
@@ -1543,6 +1549,7 @@ function executeCodeAndCreateViz(codeToExec,
15431549
}
15441550
});
15451551
}
1552+
*/
15461553
}
15471554
// SUPER HACK -- slip in backendOptionsObj as an extra field
15481555
if (myVisualizer) {

0 commit comments

Comments
 (0)