fix: [UI] isInsideModal()

pull/8402/head
Jakub Onderka 2022-05-23 14:04:42 +02:00
parent 7da8b480e6
commit a162f24c66
1 changed files with 1 additions and 1 deletions

View File

@ -678,7 +678,7 @@ function getRuleStatus(context, rulername, rulename) {
}
function isInsideModal() {
return $(cm.getWrapperElement()).closest('.modal').length > 0
return $(".markdownEditor-full-container").closest('.modal').length > 0
}
// Inject line numbers for sync scroll. Notes: