diff --git a/resources/js/ext.uls.interface.js b/resources/js/ext.uls.interface.js index aee65344..4ebc846d 100644 --- a/resources/js/ext.uls.interface.js +++ b/resources/js/ext.uls.interface.js @@ -257,6 +257,11 @@ }, timeout ); } ); + // hide the tooltip when clicked on it + $( '.tipsy' ).on( 'click', function () { + hideTipsy(); + } ); + // Event handler for links in the tooltip. // It looks like the tipsy is always created from scratch so that // there wont be multiple event handlers bound to same click. @@ -297,11 +302,6 @@ showTipsy( 3000 ); } } ); - - // hide the tooltip when clicked on uls trigger - $ulsTrigger.on( 'click', function () { - hideTipsy(); - } ); } $( document ).ready( function () {