1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 20:00:37 +02:00

PHP Notice/Warning removal. 'field-help' containers may now be customized with: data-placement="[top|right|bottom|left]"

This commit is contained in:
Cameron
2015-06-11 12:29:19 -07:00
parent 9af51e21db
commit 4414495b04
3 changed files with 14 additions and 4 deletions

View File

@@ -355,6 +355,13 @@ $(document).ready(function()
{
var placement = 'top';
}
var custplace = $(t).attr('data-placement'); // ie top|left|bottom|right
if(custplace !== undefined)
{
placement = custplace;
}
t.hide();