mirror of https://github.com/MISP/MISP
fix: [UI] isInsideModal()
parent
7da8b480e6
commit
a162f24c66
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue