Commit 1f5d2223 by Adam Palay

remove forgot-password-modal class

parent a0d30b25
<%! from django.utils.translation import ugettext as _ %> <%! from django.utils.translation import ugettext as _ %>
<%! from django.core.urlresolvers import reverse %> <%! from django.core.urlresolvers import reverse %>
<section id="forgot-password-modal" class="modal forgot-password-modal" role="dialog" aria-label="${_('Password Reset')}"> <section id="forgot-password-modal" class="modal" role="dialog" aria-label="${_('Password Reset')}">
<div class="inner-wrapper"> <div class="inner-wrapper">
<div id="password-reset"> <div id="password-reset">
<header> <header>
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
} }
}); });
}; };
$(".forgot-password-modal .close-modal").click(onModalClose); $("#forgot-password-modal .close-modal").click(onModalClose);
$("#forgot-password-modal").focus() $("#forgot-password-modal").focus()
cycle_modal_tab("#forgot-password-modal .close-modal", "#pwd_reset_email") cycle_modal_tab("#forgot-password-modal .close-modal", "#pwd_reset_email")
cycle_modal_tab("#pwd_reset_email", "#pwd_reset_button") cycle_modal_tab("#pwd_reset_email", "#pwd_reset_button")
......
...@@ -68,7 +68,7 @@ ...@@ -68,7 +68,7 @@
} }
}); });
$("#forgot-password-link").click(function() { $("#forgot-password-link").click(function() {
$(".forgot-password-modal .close-modal").focus() $("#forgot-password-modal .close-modal").focus()
}) })
})(this); })(this);
......
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