Fixed offcanvas error because state is used as function. Fixes #192

This commit is contained in:
Arnold Daniels
2014-03-25 14:20:49 +01:00
parent 9b5357120e
commit 00a5a2d55b

View File

@@ -230,7 +230,7 @@
}
OffCanvas.prototype.recalc = function () {
if (this.state() !== 'slid' || this.$calcClone.css('display') === 'none') return
if (this.state !== 'slid' || this.$calcClone.css('display') === 'none') return
var offset = -1 * this.offset()