...
|
...
|
@@ -23,15 +23,15 @@ $('.pitch').on('click', function() { |
|
|
$('.submit-btn').on('click', function() {
|
|
|
if ($('.pitch').hasClass('select')) {
|
|
|
if (appVersion === '1') {
|
|
|
$(this).attr('href','//m.yohobuy.com/passport/reg/password?openby:yohobuy={"action":"go.productDetail","params":{"selected":"Y"}}');
|
|
|
$(this).attr('href', '//m.yohobuy.com/passport/reg/password?openby:yohobuy={"action":"go.productDetail","params":{"selected":"Y"}}');
|
|
|
} else {
|
|
|
$(this).attr('href','//m.yohobuy.com/passport/reg/password' + window.location.search + '&selected=Y');
|
|
|
$(this).attr('href', '//m.yohobuy.com/passport/reg/password' + window.location.search + '&selected=Y');
|
|
|
}
|
|
|
} else {
|
|
|
if (appVersion === '1') {
|
|
|
$(this).attr('href','//m.yohobuy.com/passport/reg/password?openby:yohobuy={"action":"go.productDetail","params":{"selected":"N"}}');
|
|
|
$(this).attr('href', '//m.yohobuy.com/passport/reg/password?openby:yohobuy={"action":"go.productDetail","params":{"selected":"N"}}');
|
|
|
} else {
|
|
|
$(this).attr('href','//m.yohobuy.com/passport/reg/password' + window.location.search + '&selected=N');
|
|
|
$(this).attr('href', '//m.yohobuy.com/passport/reg/password' + window.location.search + '&selected=N');
|
|
|
}
|
|
|
}
|
|
|
}); |
...
|
...
|
|