forked from GNUsocial/gnu-social
		
	Inline script for maxlength is deprecated
This commit is contained in:
		| @@ -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); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user