2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-05 16:42:29 +03:00
This commit is contained in:
fat
2013-07-25 21:49:19 -07:00
parent 0190128ebc
commit 124d7e6279
3 changed files with 5 additions and 3 deletions
+3 -1
View File
@@ -1,3 +1,5 @@
if (!jQuery) throw new Error("Bootstrap requires jQuery")
/* ========================================================================
* Bootstrap: transition.js v3.0.0
* http://twbs.github.com/bootstrap/javascript.html#transitions
@@ -1573,7 +1575,7 @@
return ($href
&& $href.length
&& [[ $href.position().top + (!$.isWindow(self.$scrollElement.get(0)) && self.$scrollElement.scrollTop()), href ]]) || null
&& [[ $href.offset().top + (!$.isWindow(self.$scrollElement.get(0)) && self.$scrollElement.scrollTop()), href ]]) || null
})
.sort(function (a, b) { return a[0] - b[0] })
.each(function () {
+1 -1
View File
File diff suppressed because one or more lines are too long