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:
@@ -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 }
|
||||
});
|
||||
|
||||
});
|
||||
|
Reference in New Issue
Block a user