From: Sarven Capadisli Date: Sun, 17 Jan 2010 14:04:47 +0000 (+0000) Subject: Inline script for maxlength is deprecated X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=83eef607f1f01256e7342b421bddbed1fc32d6a6;p=quix0rs-gnu-social.git Inline script for maxlength is deprecated --- diff --git a/plugins/MobileProfile/MobileProfilePlugin.php b/plugins/MobileProfile/MobileProfilePlugin.php index 14d2500e8f..d426fc282b 100644 --- a/plugins/MobileProfile/MobileProfilePlugin.php +++ b/plugins/MobileProfile/MobileProfilePlugin.php @@ -356,8 +356,6 @@ class MobileProfilePlugin extends WAP20Plugin $contentLimit = Notice::maxContent(); - $form->out->inlineScript('maxLength = ' . $contentLimit . ';'); - if ($contentLimit > 0) { $form->out->element('div', array('id' => 'notice_text-count'), $contentLimit);