mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-11 18:02:28 +03:00
fix #9342
This commit is contained in:
Vendored
+1
-1
@@ -1880,7 +1880,7 @@ if (typeof jQuery === 'undefined') { throw new Error('Bootstrap\'s JavaScript re
|
|||||||
offsetTop != null && (scrollTop <= offsetTop) ? 'top' : false
|
offsetTop != null && (scrollTop <= offsetTop) ? 'top' : false
|
||||||
|
|
||||||
if (this.affixed === affix) return
|
if (this.affixed === affix) return
|
||||||
if (this.unpin) this.$element.css('top', '')
|
if (this.unpin != null) this.$element.css('top', '')
|
||||||
|
|
||||||
var affixType = 'affix' + (affix ? '-' + affix : '')
|
var affixType = 'affix' + (affix ? '-' + affix : '')
|
||||||
var e = $.Event(affixType + '.bs.affix')
|
var e = $.Event(affixType + '.bs.affix')
|
||||||
|
|||||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -66,7 +66,7 @@
|
|||||||
offsetTop != null && (scrollTop <= offsetTop) ? 'top' : false
|
offsetTop != null && (scrollTop <= offsetTop) ? 'top' : false
|
||||||
|
|
||||||
if (this.affixed === affix) return
|
if (this.affixed === affix) return
|
||||||
if (this.unpin) this.$element.css('top', '')
|
if (this.unpin != null) this.$element.css('top', '')
|
||||||
|
|
||||||
var affixType = 'affix' + (affix ? '-' + affix : '')
|
var affixType = 'affix' + (affix ? '-' + affix : '')
|
||||||
var e = $.Event(affixType + '.bs.affix')
|
var e = $.Event(affixType + '.bs.affix')
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user