From 889ffdec5d8347636c0954d637b0d66c670b2638 Mon Sep 17 00:00:00 2001 From: Clay Diffrient Date: Tue, 18 Apr 2017 07:38:41 -0600 Subject: [PATCH] [fixed] Removed additional es2015 causing problems closes #380 --- lib/helpers/refCount.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }