mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-03 23:37:39 +02:00
[ticket/13713] Move function to get textarea element to core.js
PHPBB3-13713
This commit is contained in:
@@ -311,7 +311,8 @@
|
||||
phpbb.mentions = new Mentions();
|
||||
|
||||
$(document).ready(() => {
|
||||
const textarea = getEditorTextArea();
|
||||
/* global form_name, text_name */
|
||||
const textarea = phpbb.getEditorTextArea(form_name, text_name);
|
||||
|
||||
if (typeof textarea === 'undefined') {
|
||||
return;
|
||||
|
Reference in New Issue
Block a user