1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-04 21:57:51 +02:00

Closes #172 - tooltip display issue

This commit is contained in:
Cameron
2013-04-25 13:00:58 -07:00
parent aa53496909
commit 09d878b56a

View File

@@ -245,24 +245,7 @@ $(document).ready(function()
// run tips on .field-help
$("input,textarea,select,label,.e-tip").each(function(c) {
var t = $(this).nextAll(".field-help");
t.hide();
// alert('hello');
$(this).tooltip({
title: function() {
var tip = t.html();
return tip;
},
fade: true,
html: true,
placement: 'right',
delay: { show: 300, hide: 600 }
});
});
$('.e-noclick').click(function(e) {
@@ -286,7 +269,24 @@ $(document).ready(function()
});
// run tips on .field-help
$("div.tbox,input,textarea,select,label,.e-tip").each(function(c) {
var t = $(this).nextAll(".field-help");
t.hide();
// alert('hello');
$(this).tooltip({
title: function() {
var tip = t.html();
return tip;
},
fade: true,
html: true,
placement: 'right',
delay: { show: 300, hide: 600 }
});
});
// $(".e-spinner").spinner(); //FIXME breaks tooltips etc.