This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Global Gigya Configutatio object | |
window.__gigyaConf = { | |
customLang: { | |
invalid_login_or_password : 'The Current Password you entered is incorrect. Try again or <a href="http://beachbodyglobal.com/forgot-password/">click here to reset your password</a>.' | |
}, | |
validation: { | |
// formData contains all information user has entered | |
// eventType is either "change" or "keypress" | |
// callback is optional, you can use it for asynchronous validation or just use return | |
'gigya-login-screen': function(formData, eventType, callback){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function resizeScreenSetFields(){ | |
$('.gigya-screen input').parents('.gigya-layout-cell').each(function(){ | |
if(parseInt($('.gigya-screen:visible').width()) == 375){ | |
$(this).css({ | |
'min-width' : (parseInt($('.gigya-screen:visible').width()) - 40) + 'px', | |
'width' : (parseInt($('.gigya-screen:visible').width()) - 40) + 'px' | |
}) | |
} else { | |
$(this).css({ | |
'min-width' : '', |