From ecb6a69fe77d7e4d44db673972e9e067ad740293 Mon Sep 17 00:00:00 2001 From: AlasdairSwan Date: Wed, 12 Nov 2014 15:51:18 -0500 Subject: [PATCH] ECOM-369 Reunited the missing line with the rest of the page elements and fixed an error with HTML5 validation override --- common/static/js/utils/edx.utils.validate.js | 4 +++- lms/static/sass/views/_login-register.scss | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/common/static/js/utils/edx.utils.validate.js b/common/static/js/utils/edx.utils.validate.js index de3281de6a..5a2afa7b02 100644 --- a/common/static/js/utils/edx.utils.validate.js +++ b/common/static/js/utils/edx.utils.validate.js @@ -168,7 +168,9 @@ var edx = edx || {}; // Removes the default HTML5 validation pop-up removeDefault: function( $el ) { - $el.setCustomValidity(' '); + if ( $el.setCustomValidity ) { + $el.setCustomValidity(' '); + } } } }; diff --git a/lms/static/sass/views/_login-register.scss b/lms/static/sass/views/_login-register.scss index ae74f77ff4..ceb828a9e9 100644 --- a/lms/static/sass/views/_login-register.scss +++ b/lms/static/sass/views/_login-register.scss @@ -90,7 +90,7 @@ @include span-columns(4); padding: 25px 10px; - &:first-of-type { + &:nth-of-type(2) { border-bottom: 1px solid $gray-l4; } }