Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
a29e5a9d
Commit
a29e5a9d
authored
12 years ago
by
Jacob Thornton
Browse files
Options
Download
Email Patches
Plain Diff
fix
#3234
parent
aaabe2a4
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
docs/assets/js/bootstrap-scrollspy.js
+1
-1
docs/assets/js/bootstrap-scrollspy.js
docs/assets/js/bootstrap.js
+1
-1
docs/assets/js/bootstrap.js
docs/assets/js/bootstrap.min.js
+1
-1
docs/assets/js/bootstrap.min.js
js/bootstrap-scrollspy.js
+1
-1
js/bootstrap-scrollspy.js
with
4 additions
and
4 deletions
+4
-4
docs/assets/js/bootstrap-scrollspy.js
+
1
-
1
View file @
a29e5a9d
...
@@ -35,7 +35,7 @@
...
@@ -35,7 +35,7 @@
this
.
selector
=
(
this
.
options
.
target
this
.
selector
=
(
this
.
options
.
target
||
((
href
=
$
(
element
).
attr
(
'
href
'
))
&&
href
.
replace
(
/.*
(?=
#
[^\s]
+$
)
/
,
''
))
//strip for ie7
||
((
href
=
$
(
element
).
attr
(
'
href
'
))
&&
href
.
replace
(
/.*
(?=
#
[^\s]
+$
)
/
,
''
))
//strip for ie7
||
''
)
+
'
.nav li > a
'
||
''
)
+
'
.nav li > a
'
this
.
$body
=
$
(
'
body
'
)
.
on
(
'
click.scroll.data-api
'
,
this
.
selector
,
process
)
this
.
$body
=
$
(
'
body
'
)
this
.
refresh
()
this
.
refresh
()
this
.
process
()
this
.
process
()
}
}
...
...
This diff is collapsed.
Click to expand it.
docs/assets/js/bootstrap.js
+
1
-
1
View file @
a29e5a9d
...
@@ -1290,7 +1290,7 @@
...
@@ -1290,7 +1290,7 @@
this
.
selector
=
(
this
.
options
.
target
this
.
selector
=
(
this
.
options
.
target
||
((
href
=
$
(
element
).
attr
(
'
href
'
))
&&
href
.
replace
(
/.*
(?=
#
[^\s]
+$
)
/
,
''
))
//strip for ie7
||
((
href
=
$
(
element
).
attr
(
'
href
'
))
&&
href
.
replace
(
/.*
(?=
#
[^\s]
+$
)
/
,
''
))
//strip for ie7
||
''
)
+
'
.nav li > a
'
||
''
)
+
'
.nav li > a
'
this
.
$body
=
$
(
'
body
'
)
.
on
(
'
click.scroll.data-api
'
,
this
.
selector
,
process
)
this
.
$body
=
$
(
'
body
'
)
this
.
refresh
()
this
.
refresh
()
this
.
process
()
this
.
process
()
}
}
...
...
This diff is collapsed.
Click to expand it.
docs/assets/js/bootstrap.min.js
+
1
-
1
View file @
a29e5a9d
This diff is collapsed.
Click to expand it.
js/bootstrap-scrollspy.js
+
1
-
1
View file @
a29e5a9d
...
@@ -35,7 +35,7 @@
...
@@ -35,7 +35,7 @@
this
.
selector
=
(
this
.
options
.
target
this
.
selector
=
(
this
.
options
.
target
||
((
href
=
$
(
element
).
attr
(
'
href
'
))
&&
href
.
replace
(
/.*
(?=
#
[^\s]
+$
)
/
,
''
))
//strip for ie7
||
((
href
=
$
(
element
).
attr
(
'
href
'
))
&&
href
.
replace
(
/.*
(?=
#
[^\s]
+$
)
/
,
''
))
//strip for ie7
||
''
)
+
'
.nav li > a
'
||
''
)
+
'
.nav li > a
'
this
.
$body
=
$
(
'
body
'
)
.
on
(
'
click.scroll.data-api
'
,
this
.
selector
,
process
)
this
.
$body
=
$
(
'
body
'
)
this
.
refresh
()
this
.
refresh
()
this
.
process
()
this
.
process
()
}
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment