Commit 4257f714 by Adam

Merge pull request #1473 from edx/adam/fix/a11y-modal-management

makes ajustments to modals on page load
parents ee02a2dd dec40c7d
......@@ -101,7 +101,9 @@
});
return false;
});
})(this);
$(function(){
accessible_modal(".edit-name", "#apply_name_change .close-modal", "#apply_name_change", "#dashboard-main");
accessible_modal(".edit-email", "#change_email .close-modal", "#change_email", "#dashboard-main");
......@@ -122,8 +124,7 @@
var trigger = "#" + $(this).attr("id");
accessible_modal(trigger, "#unenroll-modal .close-modal", "#unenroll-modal", "#dashboard-main");
});
})(this)
});
</script>
</%block>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment