Skip to content

Instantly share code, notes, and snippets.

@poonkave
Created December 4, 2012 09:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save poonkave/4202126 to your computer and use it in GitHub Desktop.
Save poonkave/4202126 to your computer and use it in GitHub Desktop.
jqm dialog close icon aligned right
$(document).on("mobileinit", function () {
$(document).on('pagebeforeshow', 'div:jqmData(role=dialog)', [], function (e, ui) {
$.mobile.activePage.find(".ui-btn-left").removeClass("ui-btn-left").addClass("ui-btn-right");
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment