1jQuery(document).ready(function () { 2 jQuery(".MyProfile_Member, .MyProfile_Member *").on("blur", function () { 3 setTimeout(function () { // needed because nothing has focus during 'blur' 4 if (jQuery(':focus').closest('.MyProfile_Member').length <= 0) { //check if any of the child objects have focus 5 if ((jQuery('.fullView') != null) && jQuery('.fullView').length > 0) { 6 7 jQuery('.fullView')[0].style.display = 'none'; 8 jQuery(this).data("jutsfocused", false); 9 } 10 } 11 }, 0); 12 }); 13 14 jQuery(".MyProfile_Member").on("click focus", function (e) { 15 e.stopPropagation(); 16 var divSignedOut = jQuery('.MyProfile_SignedOut'); 17 if ((divSignedOut != null) && divSignedOut.length > 0 && divSignedOut[0].style.display == 'none') { 18 if ((jQuery('.fullView') != null) && jQuery('.fullView').length > 0) { 19 if (e.type == "click") { 20 if (jQuery(this).data("jutsfocused")) { 21 jQuery(this).data("jutsfocused", false); 22 } 23 else { 24 if (jQuery('.fullView')[0].style.display == 'none') { 25 jQuery('.fullView')[0].style.display = 'block'; 26 } 27 else { 28 jQuery('.fullView')[0].style.display = 'none'; 29 } 30 } 31 } 32 else { 33 jQuery('.fullView')[0].style.display = 'block'; 34 jQuery(this).data("jutsfocused", true); 35 } 36 } 37 } 38 }); 39 40 jQuery('.MyProfile_Member').keypress(function (e) { 41 var divSignedOut = jQuery('.MyProfile_SignedOut'); 42 if ((divSignedOut != null) && divSignedOut.length > 0 && divSignedOut[0].style.display != 'none') { 43 var key = e.which; 44 if (key == 13) // the enter key code 45 { 46 jQuery('.MyProfile_SignedOut').trigger("click"); 47 return false; 48 } 49 } 50 }); 51});
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.