This commit is contained in:
Jacob Thornton 2012-08-14 21:23:29 -07:00
parent ae9a2bd93a
commit ff38c14948
2 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@
this.options = $.extend({}, $.fn.affix.defaults, options)
this.$window = $(window).on('scroll.affix.data-api', $.proxy(this.checkPosition, this))
this.$element = $(element)
this.checkPosition();
this.checkPosition()
}
Affix.prototype.checkPosition = function () {

View File

@ -30,7 +30,7 @@
this.options = $.extend({}, $.fn.affix.defaults, options)
this.$window = $(window).on('scroll.affix.data-api', $.proxy(this.checkPosition, this))
this.$element = $(element)
this.checkPosition();
this.checkPosition()
}
Affix.prototype.checkPosition = function () {