Last modified: 2014-02-27 00:22:17 UTC
Further refactor/testing should be done on the back-button handler, because now when I visit https://www.mediawiki.org/wiki/Multimedia/About_Media_Viewer and click on an image that isn't the first, then use alt+left-arrow to go back, it redirects me (?) to the same image. I don't know why. Reported by someone on Mac OS X and Chrome, with cmd+left-arrow instead, and instead it loaded the previous image for her. Browser testing may be in line here too.
Maybe MMV's cursor key navigation and the browser's history navigation are both triggered and cancel each other out?
This is definitely due to the mmv's arrow keys management not ignoring keypresses when a modifier key is on.
https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/236
https://gerrit.wikimedia.org/r/115639