mozilla/pdf.js — pull request #1526 by jviereck (2012-04-12 15:31:00+00:00)
Title: Fix keyboardbindings

The keyboard bindings for + (e.g. CMD + to zoom) are broken right now in the codebase. In the case of the zoom short cut, if someone presses the zoom key combo, the entire page gets resized and not only the page view.

Note: Listening for zoom changes by listening to the keydown event is not the optimal solution. There needs to be an API to hock into it. This pull request is only about fixing the code that is in the viewer right now, which doesn't do what it should do.