1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-04 05:37:32 +02: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'; 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' )
}); });