1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-28 18:30:53 +02:00

Merge pull request #3310 from SimSync/fix_3259

possible fix for #3259: Added test if tooltip is loaded
This commit is contained in:
Cameron
2018-07-22 14:48:16 -07:00
committed by GitHub

View File

@@ -1073,8 +1073,10 @@ $(document).ready(function()
{ {
pos = 'bottom'; pos = 'bottom';
} }
if(typeof $.fn.tooltip !== 'undefined')
$(this).tooltip({opacity:1.0, fade:true, placement: pos, container: 'body'}); {
$(this).tooltip({opacity: 1.0, fade: true, placement: pos, container: 'body'});
}
// $(this).css( 'cursor', 'pointer' ) // $(this).css( 'cursor', 'pointer' )
}); });