From f5928ee2d837d334004ec5895ce9ef34ad277e46 Mon Sep 17 00:00:00 2001 From: Achim Ennenbach Date: Sun, 22 Jul 2018 22:05:41 +0200 Subject: [PATCH] possible fix for #3259: Added test if tooltip is loaded --- e107_web/js/core/all.jquery.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/e107_web/js/core/all.jquery.js b/e107_web/js/core/all.jquery.js index efa5ef078..51b494fdb 100644 --- a/e107_web/js/core/all.jquery.js +++ b/e107_web/js/core/all.jquery.js @@ -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' ) });