triggers panel: catch drop error
This commit is contained in:
4
dist/panel-triggers/ack-tooltip.directive.js
vendored
4
dist/panel-triggers/ack-tooltip.directive.js
vendored
@@ -121,7 +121,11 @@ System.register(['angular', 'jquery'], function (_export, _context) {
|
|||||||
|
|
||||||
function closeDrop() {
|
function closeDrop() {
|
||||||
setTimeout(function () {
|
setTimeout(function () {
|
||||||
|
try {
|
||||||
drop.destroy();
|
drop.destroy();
|
||||||
|
} catch (err) {
|
||||||
|
console.log('drop.destroy() error: ', err.message);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@@ -111,7 +111,11 @@ angular
|
|||||||
|
|
||||||
function closeDrop() {
|
function closeDrop() {
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
|
try {
|
||||||
drop.destroy();
|
drop.destroy();
|
||||||
|
} catch (err) {
|
||||||
|
console.log('drop.destroy() error: ', err.message);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user