diff --git a/lib/helpers/refCount.js b/lib/helpers/refCount.js index ab03e838..1b8c4cc6 100644 --- a/lib/helpers/refCount.js +++ b/lib/helpers/refCount.js @@ -7,7 +7,7 @@ module.exports = { } }, remove: function (element) { - const index = modals.indexOf(element); + var index = modals.indexOf(element); if (index === -1) { return; }