1jQuery(document).ready(function($) { 2 // Add user icon to the username input 3 $('#user_login').wrap('<div class="input-icon"></div>'); 4 $('.input-icon').append('<i class="fas fa-user"></i>'); 5 6 // Add lock icon to the password input 7 $('#user_pass').wrap('<div class="input-icon"></div>'); 8 $('#user_pass').parent().append('<i class="fas fa-lock"></i>'); 9 10 $('#pass1').wrap('<div class="input-icon"></div>'); 11 $('#pass1').parent().append('<i class="fas fa-lock" id="respass1"></i>'); 12 13 // $('#backtoblog').after( 14 // $('<div id="custom-subscription-message">' + 15 // 'Don\'t have an account? <a href="/subscription/"><strong>Subscribe Now</strong></a>' + 16 // '</div>') 17 // ); 18}); 19 20jQuery(document).ready(function($) { 21 var loader = $('<div class="loaderLogin"><img src="/wp-content/uploads/2023/11/loader.gif"/></div>'); 22 // Get the login form 23 var loginForm = $('#loginform'); 24 25 // Attach submit event to the login form 26 loginForm.submit(function(event) { 27 // Insert the loader before the form 28 loginForm.before(loader); 29 30 // The loader will be removed on form submission handling 31 $(document).ajaxComplete(function(event, xhr, settings) { 32 if (settings.url.indexOf('wp-login.php') !== -1) { 33 loader.remove(); 34 } 35 }); 36 setTimeout(function() { 37 loader.remove(); 38 }, 5000); 39 }); 40});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.