1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-03 13:17:24 +02:00

Tooltip position fix for textareas.

This commit is contained in:
Cameron
2013-04-25 17:38:06 -07:00
parent 0a3f06ed23
commit 016e6d82ef

View File

@@ -273,6 +273,13 @@ $(document).ready(function()
$("div.tbox,input,textarea,select,label,.e-tip").each(function(c) {
var t = $(this).nextAll(".field-help");
if($(this).is("textarea"))
{
var placement = 'top';
}
t.hide();
// alert('hello');
$(this).tooltip({
@@ -282,7 +289,7 @@ $(document).ready(function()
},
fade: true,
html: true,
placement: 'right',
placement: placement,
delay: { show: 300, hide: 600 }
});