triggers panel: catch drop error

This commit is contained in:
Alexander Zobnin
2017-12-11 12:56:50 +03:00
parent 1abe858c61
commit 5717deeb91
3 changed files with 11 additions and 3 deletions

View File

@@ -111,7 +111,11 @@ angular
function closeDrop() {
setTimeout(function() {
drop.destroy();
try {
drop.destroy();
} catch (err) {
console.log('drop.destroy() error: ', err.message);
}
});
}