summaryrefslogtreecommitdiff
path: root/lib/messageform.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/messageform.php')
-rw-r--r--lib/messageform.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/messageform.php b/lib/messageform.php
index 4df193c6d..0c568e1bd 100644
--- a/lib/messageform.php
+++ b/lib/messageform.php
@@ -154,8 +154,6 @@ class MessageForm extends Form
$contentLimit = Message::maxContent();
- $this->out->inlineScript('maxLength = ' . $contentLimit . ';');
-
if ($contentLimit > 0) {
$this->out->elementStart('dl', 'form_note');
$this->out->element('dt', null, _('Available characters'));