1
0
mirror of https://github.com/e107inc/e107.git synced 2025-03-14 01:19:44 +01:00

possible fix for #3259: Added test if tooltip is loaded

This commit is contained in:
Achim Ennenbach 2018-07-22 22:05:41 +02:00
parent 262dc7f36b
commit f5928ee2d8

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' )
});