From 25cc674dc07625f91efc12a216549b28334cfb4b Mon Sep 17 00:00:00 2001 From: Laury GvR Date: Thu, 28 Mar 2019 17:36:18 -0400 Subject: [PATCH] On click instead of .click for test code in editProfile --- views/admin/member/memberInfo/editProfile.html | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) 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 -- 2.17.1