close ipmort/export annotation after action

This commit is contained in:
j 2025-01-23 16:34:31 +05:30
commit e5339fd297
2 changed files with 9 additions and 1 deletions

View file

@ -102,6 +102,13 @@ pandora.ui.exportAnnotationsDialog = function(options) {
$button.wrap($('<a>'));
// On wrap, a reference to the link would *not* be the link in the DOM
$link = $($button.parent());
$link.on({
click: function() {
setTimeout(() => {
that.close()
}, 10)
}
})
updateLink();
}