mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/12542] Properly check if textarea is undefined or null
PHPBB3-12542
This commit is contained in:
parent
818df0ec68
commit
b7a89187b5
1 changed files with 1 additions and 1 deletions
|
@ -1241,7 +1241,7 @@ phpbb.applyCodeEditor = function(textarea) {
|
||||||
* @param {object} textarea Textarea DOM object to apply editor to
|
* @param {object} textarea Textarea DOM object to apply editor to
|
||||||
*/
|
*/
|
||||||
phpbb.showDragNDrop = function(textarea) {
|
phpbb.showDragNDrop = function(textarea) {
|
||||||
if (textarea === 'undefined') {
|
if (textarea == null) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue