Unverified Commit c0ce7cf6 by Brittney Exline Committed by GitHub

Merge pull request #16880 from edx/bexline/registration_fix_ie11

ENT-800 Fix IE11 Broken Submit button on Registration Page
parents 0380c5fc c110a9ac
...@@ -179,7 +179,7 @@ ...@@ -179,7 +179,7 @@
// Show each input tip // Show each input tip
$(this).children().each(function() { $(this).children().each(function() {
if (inputTipSelectorsHidden.includes($(this).attr('class'))) { if (inputTipSelectorsHidden.indexOf($(this).attr('class')) >= 0) {
$(this).removeClass('hidden'); $(this).removeClass('hidden');
} }
}); });
...@@ -193,7 +193,7 @@ ...@@ -193,7 +193,7 @@
// Hide each input tip // Hide each input tip
$(this).children().each(function() { $(this).children().each(function() {
if (inputTipSelectors.includes($(this).attr('class'))) { if (inputTipSelectors.indexOf($(this).attr('class')) >= 0) {
$(this).addClass('hidden'); $(this).addClass('hidden');
} }
}); });
...@@ -207,7 +207,7 @@ ...@@ -207,7 +207,7 @@
// Initially hide each input tip // Initially hide each input tip
input.children().each(function() { input.children().each(function() {
if (inputTipSelectors.includes($(this).attr('class'))) { if (inputTipSelectors.indexOf($(this).attr('class')) >= 0) {
$(this).addClass('hidden'); $(this).addClass('hidden');
} }
}); });
......
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