[bug] correct broken state path in header margin check
This commit is contained in:
parent
fe94dfdac3
commit
14fbe03c6e
|
@ -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;
|
||||
|
|
|
@ -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(".");
|
||||
|
|
Loading…
Reference in New Issue