Skip to content
Snippets Groups Projects
Commit dec40c7d authored by Adam Palay's avatar Adam Palay
Browse files

makes ajustments to modals on page load

parent 2ad08809
No related merge requests found
......@@ -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>
......
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