Remove unused javascript reference

main
Bob Mottram 2022-05-23 20:42:05 +01:00
parent dec4ade6b5
commit 5b8550c68a
2 changed files with 0 additions and 8 deletions

View File

@ -919,10 +919,6 @@ def html_edit_blog(media_instance: bool, translate: {},
edit_blog_form += ' </div>' edit_blog_form += ' </div>'
edit_blog_form += '</form>' edit_blog_form += '</form>'
edit_blog_form = \
edit_blog_form.replace('<body>',
'<body onload="focusOnMessage()">')
edit_blog_form += html_footer() edit_blog_form += html_footer()
return edit_blog_form return edit_blog_form

View File

@ -952,9 +952,5 @@ def html_new_post(css_cache: {}, media_instance: bool, translate: {},
' </div>\n' + \ ' </div>\n' + \
'</form>\n' '</form>\n'
if not report_url:
new_post_form = \
new_post_form.replace('<body>', '<body onload="focusOnMessage()">')
new_post_form += html_footer() new_post_form += html_footer()
return new_post_form return new_post_form