1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

Uncomment setupTips function

This commit is contained in:
Daniel Molina 2015-07-13 12:00:57 +02:00
parent ad1bc3107d
commit 41984ed6d2

View File

@ -4,7 +4,7 @@ define(function(require) {
//displays the tip information on mouseover.
var _setup = function(context, position) {
//For each tip in this context
/*$('.tip', context).each(function() {
$('.tip', context).each(function() {
var obj = $(this);
obj.removeClass('tip');
var tip = obj.html();
@ -15,8 +15,8 @@ define(function(require) {
}
//replace the text with an icon and spans
obj.html('<span data-tooltip class="' + tip_classes.join(' ') + '" data-width="210" title="' + tip + '"><i class="fa fa-question-circle"></i></span>');
});*/
//$(document).foundation('reflow', 'tooltip');
});
context.foundation('reflow', 'tooltip');
}
var _html = function(str) {