From 14fbe03c6ebf345918d2d42cd41ba8ff45c7c3a4 Mon Sep 17 00:00:00 2001 From: Kuldeep M Date: Thu, 4 Apr 2019 11:19:43 +0100 Subject: [PATCH] [bug] correct broken state path in header margin check --- js/header.js | 2 +- js/version.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/js/header.js b/js/header.js index 1e52ca91..80e22b40 100644 --- a/js/header.js +++ b/js/header.js @@ -43,7 +43,7 @@ var header = (function() { var _margin = function() { var height = parseInt(getComputedStyle(header).height, 10); var marginValue; - if (state.get().background.image.show && (state.get().header.shade.show && state.get().header.shade.style == "always") || state.get().header.shade.style == "always" || state.get().header.shade.border.bottom) { + if (state.get().background.image.show && (state.get().header.shade.show && state.get().header.shade.style == "always") || state.get().header.shade.style == "always" || state.get().header.shade.border.bottom.show) { marginValue = (height + fontSize); } else { marginValue = height; diff --git a/js/version.js b/js/version.js index a36d6c1a..874620c8 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.16.0"; + var current = "2.16.1"; var compare = function(a, b) { var pa = a.split(".");