1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-25 17:01:43 +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';
}
$(this).tooltip({opacity:1.0, fade:true, placement: pos, container: 'body'});
if(typeof $.fn.tooltip !== 'undefined')
{
$(this).tooltip({opacity: 1.0, fade: true, placement: pos, container: 'body'});
}
// $(this).css( 'cursor', 'pointer' )
});