Create a gist now

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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