diff --git a/src/sunstone/public/app/utils/tips.js b/src/sunstone/public/app/utils/tips.js index 32f9a382ca..4c95ba7a55 100644 --- a/src/sunstone/public/app/utils/tips.js +++ b/src/sunstone/public/app/utils/tips.js @@ -3,6 +3,10 @@ define(function(require) { //Replaces all class"tip" divs with an information icon that //displays the tip information on mouseover. var _setup = function(context, position) { + if (!context) { + context = $(document); + } + //For each tip in this context $('.tip', context).each(function() { var obj = $(this); @@ -16,6 +20,7 @@ define(function(require) { //replace the text with an icon and spans obj.html(''); }); + context.foundation('reflow', 'tooltip'); }