briancavalier/slides

Using Alt+Left to go "back" will go back two slides

Closed this issue · 3 comments

When using Alt+Left to go back a page, the browser handles Alt+Left, while the script handles just the Left key, and so it gets navigated backwards twice.

The same goes for Alt+Right.

Should be an easy fix though. I think adding an "if(!window.event.altKey)" test around the switch block in PresentationController.js should do it.

Great catch. I def should be testing for unmodified left/right there. I'll probably have time to fix it sometime before the weekend.

Just pushed a fix for this in master:a0a6c03