srobbin/jquery-pageslide — pull request #85 by walterg2 (2012-04-19 19:51:19+00:00)
Title: Updated code to also handle page slide on touch-based devices (Issue 71)

Issue 71 noted that on iOS devices, the page slide plugin wouldn't close when the user touched the main screen. This was due to a missing event in the bindings; touch.

I've updated the code to check for the touchend (based on the existing event waiting for a keyup event) in addition to the click and keyup so touch events on the main document would close the added content. I also had to change the click event handler within the page slide div to a generic bind event and added in the touchend there to ensure that touching inside the page slide div did not accidentally close it.