sympy/sympy-live — pull request #25 by lidavidm (2011-12-17 23:33:00+00:00)
Title: Arrow history buttons lose input focus

This fixes an issue mentioned at http://code.google.com/p/sympy/issues/detail?id=2872.

* History, evaluate, and clear buttons refocus the input area after being pressed. This works.
* `` elements refocus the input area after being changed, but only on desktop and only after a *change*.

* There seems to be no event fired when the option is *not* changed. `blur` doesn't work since it keeps its focus after being used.
* I am working on a workaround for desktop using mouse clicks but it is inconsistent and does not fit with mobile.
* For some reason Mobile Safari fires `change` events but calls to `focus()` go unheeded.

* These changes should also affect the desktop version.
* Additionally, font size should automatically increase on the iPhone 4 and above. (I don't have a high-pixel-density device to test this with.)

This is a GCI task: http://www.google-melange.com/gci/task/view/google/gci2011/7229267