Models Studio Naughty AmericaReagan Foxx (8 videos) Jennifer White (7 videos) Elizabeth Skylar (6 videos) London River (5 videos) Nicole Aniston (5 videos) Sadie Summers (5 videos) Taylor Vixxen (5 videos) Lauren Phillips (4 videos) Madison Ivy (4 videos) Mia Malkova (4 videos) Remy Lacroix (4 videos) Skylar Snow (4 videos) Sophia Locke (4 videos) Addyson James (3 videos) Alexa Payne (3 videos) Andi Avalon (3 videos) Aria Banks (3 videos) Ava Addams (3 videos) Britney Amber (3 videos) Cassie Del Isla (3 videos)
Likes: 4
Dislikes: 0
Rating: 100%
Rank: 11
Votes: 4
Views: 14647

New Videos Studio Naughty America in category Blondes (0 Videos) Page: 9


jQuery(function($){ // Показ нужной формы по ссылкам-переключателям внутри модалки $(document).on('click', '.modal-auth__switch [data-view]', function(e){ e.preventDefault(); const view = $(this).data('view'); // login | register // здесь твой загрузчик модалки, например: $.post(ModalCfg.ajaxurl, { action: 'load_modal', nonce: ModalCfg.nonce, view }, function(resp){ if (resp?.success && resp.data?.html) { $('#app-modal-content').html(resp.data.html); if (window.renderRecaptchaWidgets) window.renderRecaptchaWidgets('#app-modal-content'); window.dispatchEvent(new Event('app-modal-opened')); } }); }); // Вход $(document).on('submit', '.js-auth-login', function(e){ e.preventDefault(); const $f = $(this); $.post($f.attr('action'), $f.serialize()) .done(function(r){ try { r = typeof r === 'string' ? JSON.parse(r) : r; } catch(e){} if (r && r.success) { location.reload(); } else { alert(r?.message || 'Ошибка входа'); } }) .fail(()=>alert('Сеть недоступна')); }); // Регистрация (с one-click login) $(document).on('submit', '.js-auth-register', function(e){ e.preventDefault(); const $f = $(this); $.post($f.attr('action'), $f.serialize()) .done(function(r){ try { r = typeof r === 'string' ? JSON.parse(r) : r; } catch(e){} if (r && r.success) { // Если сервер отдал one-click токен — логинимся сразу if (r.oneclick_token) { $.post($f.attr('action'), { action: 'ajax_oneclick_login', _ajax_nonce: $f.find('input[name="_ajax_nonce"]').val(), token: r.oneclick_token }).done(function(rr){ try { rr = typeof rr === 'string' ? JSON.parse(rr) : rr; } catch(e){} if (rr && rr.success) location.reload(); else alert(rr?.message || 'Не удалось выполнить авто-вход'); }).fail(()=>alert('Сеть недоступна')); return; } // иначе просто обновим страницу location.reload(); } else { alert(r?.message || 'Ошибка регистрации'); } }) .fail(()=>alert('Сеть недоступна')); }); // reCAPTCHA: отрисовать после вставки HTML window.addEventListener('app-modal-opened', function(){ if (window.renderRecaptchaWidgets) window.renderRecaptchaWidgets('#app-modal-content'); }); });