summaryrefslogtreecommitdiff
path: root/lib/noticeform.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/noticeform.php')
-rw-r--r--lib/noticeform.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/noticeform.php b/lib/noticeform.php
index ec8624597..593a1e932 100644
--- a/lib/noticeform.php
+++ b/lib/noticeform.php
@@ -178,9 +178,6 @@ class NoticeForm extends Form
$contentLimit = Notice::maxContent();
- $this->out->element('script', array('type' => 'text/javascript'),
- 'maxLength = ' . $contentLimit . ';');
-
if ($contentLimit > 0) {
$this->out->elementStart('dl', 'form_note');
$this->out->element('dt', null, _('Available characters'));