Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
jQueryMobile and Backbone.js
// see:
// for context.
// this modifies original code (above) to also watch for dialogs being hidden
$('div[data-role="page"],div[data-role="dialog"]').live('pagehide', function (event, ui) {

This comment has been minimized.

Copy link

commented Nov 28, 2012

awesome. thanks for the tip!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.