Fix type error

This commit is contained in:
yflory
2020-03-10 17:12:41 +01:00
parent e9e65ae23b
commit 342f0f741b
2 changed files with 2 additions and 2 deletions

View File

@@ -198,7 +198,7 @@ define([
frame.closeModal = function (cb) {
$frame.fadeOut(150, function () {
$frame.detach();
cb();
if (typeof(cb) === "function") { cb(); }
});
};
return $frame.click(function (e) {