From: Laury GvR Date: Thu, 28 Mar 2019 21:36:18 +0000 (-0400) Subject: On click instead of .click for test code in editProfile X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=25cc674dc07625f91efc12a216549b28334cfb4b;p=WP-Plugins%2Fglm-member-db.git On click instead of .click for test code in editProfile --- diff --git a/views/admin/member/memberInfo/editProfile.html b/views/admin/member/memberInfo/editProfile.html index 2b5e0ec6..6d734c98 100644 --- a/views/admin/member/memberInfo/editProfile.html +++ b/views/admin/member/memberInfo/editProfile.html @@ -68,19 +68,14 @@ listComponent({ // activates tooltips OR NOT }) - $('#glm-table-profile .glma-input-condensed').click(function(){ - console.log($(this).find('input')); + $('#glm-table-profile .glma-input-condensed').on("click", function(){ $(this).addClass("glma-input-expanded").removeClass("glma-input-condensed"); - console.log("Test2"); $(this).find('input').prop('disabled', false); - console.log($(this).find('input')); }); - $('#glm-table-profile .glma-input-expanded').blur(function(){ - console.log($(this).find('input')); + $('#glm-table-profile .glma-input-expanded').on("blur", function(){ + console.log("testy test"); $(this).addClass("glma-input-condensed").removeClass("glma-input-expanded"); - console.log("Test5"); $(this).find('input').prop('disabled', true); - console.log($(this).find('input')); }); }) \ No newline at end of file