mirror of
https://github.com/jasny/bootstrap.git
synced 2026-04-24 03:00:49 -04:00
Fixed offcanvas error because state is used as function. Fixes #192
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user