fadeIn/fadeOut wont fire correctly and repeats itself jQuery
问题 my situation: if the user clicks the delete button(wastebin icon) without a selected layer from my canvas my tooltip should show up and give him advise to select one. everything is fine but the fadeIn and Out wont fire correctly. on first click it doesnt show up but on the second. if u click another times without selected layer the .tooltip suddenly begin to blink uncontrolled... CODE: $('#clearer').click(function() { var activeObject = canvas.getActiveObject(); if(activeObject === undefined