1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-04 13:47:31 +02:00

Allow Html in field-help tooltips. Related to Issue #110. Removed HTML from language file and replaced with bbcode.

This commit is contained in:
Cameron
2013-02-19 14:45:22 -08:00
parent 73fc4b4e2b
commit 76504b6be7
3 changed files with 8 additions and 7 deletions

View File

@@ -30,13 +30,15 @@ $(document).ready(function()
var t = $(this).nextAll(".field-help");
t.hide();
// alert('hello');
$(this).tooltip({title: function() {
var tip = t.text();
return tip;
$(this).tooltip({
title: function() {
var tip = t.html();
return tip;
},
fade: true,
html: true,
placement: 'right'
placement: 'right',
delay: { show: 300, hide: 600 }
});
});