From 89dff38f5d7cf9b8d81af263901c55d3dc2eb8e3 Mon Sep 17 00:00:00 2001 From: Kuldeep M Date: Mon, 25 Feb 2019 15:00:49 +0000 Subject: [PATCH] [bug] fix broke state path for modal --- js/modal.js | 4 ++-- js/version.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/js/modal.js b/js/modal.js index 5a523b29..04c3bf0c 100644 --- a/js/modal.js +++ b/js/modal.js @@ -27,7 +27,7 @@ var modal = (function() { var body = helper.e("body"); helper.setObject({ object: state.get(), - path: "modal.active", + path: "modal", newValue: true }); var modalWrapper = document.createElement("div"); @@ -50,7 +50,7 @@ var modal = (function() { }; helper.setObject({ object: state.get(), - path: "modal.active", + path: "modal", newValue: false }); }; diff --git a/js/version.js b/js/version.js index 717dfdad..40055148 100644 --- a/js/version.js +++ b/js/version.js @@ -1,7 +1,7 @@ var version = (function() { // version is normally bumped when the state needs changing or any new functionality is added - var current = "2.9.3"; + var current = "2.9.4"; var get = function() { var number = current.split(".");