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