forked from GNUsocial/gnu-social
Inline script for maxlength is deprecated
This commit is contained in:
parent
2a1ab137cc
commit
37e642bece
@ -356,8 +356,6 @@ class MobileProfilePlugin extends WAP20Plugin
|
|||||||
|
|
||||||
$contentLimit = Notice::maxContent();
|
$contentLimit = Notice::maxContent();
|
||||||
|
|
||||||
$form->out->inlineScript('maxLength = ' . $contentLimit . ';');
|
|
||||||
|
|
||||||
if ($contentLimit > 0) {
|
if ($contentLimit > 0) {
|
||||||
$form->out->element('div', array('id' => 'notice_text-count'),
|
$form->out->element('div', array('id' => 'notice_text-count'),
|
||||||
$contentLimit);
|
$contentLimit);
|
||||||
|
Loading…
Reference in New Issue
Block a user