mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 04:34:13 -06:00
DEV: Correct typo in d-modal-body (#22756)
Interestingly, this missing parenthesis was silently repaired under Chrome/Firefox, but seems to have caused some issues on other browsers. https://meta.discourse.org/t/272496
This commit is contained in:
parent
5d2ec6461d
commit
a5fa24d876
@ -29,7 +29,7 @@ export default class DModalBody extends Component {
|
||||
|
||||
@action
|
||||
didInsert(element) {
|
||||
if (element.closest(".d-modal:not(.d-modal-legacy")) {
|
||||
if (element.closest(".d-modal:not(.d-modal-legacy)")) {
|
||||
// eslint-disable-next-line no-console
|
||||
console.error(LEGACY_ERROR);
|
||||
if (DEBUG) {
|
||||
|
Loading…
Reference in New Issue
Block a user