1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-25 21:09:06 +02:00

[Ref #15881] Use Explicit Values rather than Chain

[Ref #15881] Use Explicit Values for javascript variables rather than chained ones.

From https://github.com/twbs/bootstrap/pull/15881#discussion_r25330647
This commit is contained in:
Kevin Kirsche
2015-02-25 12:19:11 -05:00
parent 804457c474
commit 238be65786
4 changed files with 12 additions and 12 deletions

View File

@@ -21,8 +21,8 @@
.on('click.bs.affix.data-api', $.proxy(this.checkPositionWithEventLoop, this))
this.$element = $(element)
this.affixed =
this.unpin =
this.affixed = null
this.unpin = null
this.pinnedOffset = null
this.checkPosition()