mirror of
https://github.com/codex-team/codex.docs.git
synced 2025-08-07 14:35:26 +02:00
Added constraints for parent element
This commit is contained in:
parent
3e8b77f94c
commit
623b180fcc
1 changed files with 4 additions and 1 deletions
|
@ -13,6 +13,9 @@ export default class Extensions {
|
|||
this.misprints = new Misprints({
|
||||
chatId: window.config.misprintsChatId
|
||||
});
|
||||
this.reactions = new Reactions(window.config.reactions);
|
||||
|
||||
if (document.querySelector(window.config.reactions.parent)) {
|
||||
this.reactions = new Reactions(window.config.reactions);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue