[bug] correct broken state path in header margin check

This commit is contained in:
Kuldeep M 2019-04-04 11:19:43 +01:00
parent fe94dfdac3
commit 14fbe03c6e
2 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@ var header = (function() {
var _margin = function() { var _margin = function() {
var height = parseInt(getComputedStyle(header).height, 10); var height = parseInt(getComputedStyle(header).height, 10);
var marginValue; 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); marginValue = (height + fontSize);
} else { } else {
marginValue = height; marginValue = height;

View File

@ -1,7 +1,7 @@
var version = (function() { var version = (function() {
// version is normally bumped when the state needs changing or any new functionality is added // 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 compare = function(a, b) {
var pa = a.split("."); var pa = a.split(".");