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
1ca1ef94
Commit
1ca1ef94
authored
12 years ago
by
Jacob Thornton
Browse files
Options
Download
Email Patches
Plain Diff
fix opera bug \o/ !!!!
#1776
parent
cf492476
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
docs/assets/bootstrap.zip
+0
-0
docs/assets/bootstrap.zip
docs/assets/js/bootstrap-scrollspy.js
+3
-4
docs/assets/js/bootstrap-scrollspy.js
js/bootstrap-scrollspy.js
+3
-4
js/bootstrap-scrollspy.js
with
6 additions
and
8 deletions
+6
-8
docs/assets/bootstrap.zip
+
0
-
0
View file @
1ca1ef94
No preview for this file type
This diff is collapsed.
Click to expand it.
docs/assets/js/bootstrap-scrollspy.js
+
3
-
4
View file @
1ca1ef94
...
@@ -94,12 +94,11 @@
...
@@ -94,12 +94,11 @@
this
.
activeTarget
=
target
this
.
activeTarget
=
target
this
.
$body
$
(
this
.
selector
)
.
find
(
this
.
selector
)
.
parent
(
'
.active
'
)
.
parent
(
'
.active
'
)
.
removeClass
(
'
active
'
)
.
removeClass
(
'
active
'
)
active
=
this
.
$body
active
=
$
(
this
.
selector
+
'
[href="
'
+
target
+
'
"]
'
)
.
find
(
this
.
selector
+
'
[href="
'
+
target
+
'
"]
'
)
.
parent
(
'
li
'
)
.
parent
(
'
li
'
)
.
addClass
(
'
active
'
)
.
addClass
(
'
active
'
)
...
...
This diff is collapsed.
Click to expand it.
js/bootstrap-scrollspy.js
+
3
-
4
View file @
1ca1ef94
...
@@ -94,12 +94,11 @@
...
@@ -94,12 +94,11 @@
this
.
activeTarget
=
target
this
.
activeTarget
=
target
this
.
$body
$
(
this
.
selector
)
.
find
(
this
.
selector
)
.
parent
(
'
.active
'
)
.
parent
(
'
.active
'
)
.
removeClass
(
'
active
'
)
.
removeClass
(
'
active
'
)
active
=
this
.
$body
active
=
$
(
this
.
selector
+
'
[href="
'
+
target
+
'
"]
'
)
.
find
(
this
.
selector
+
'
[href="
'
+
target
+
'
"]
'
)
.
parent
(
'
li
'
)
.
parent
(
'
li
'
)
.
addClass
(
'
active
'
)
.
addClass
(
'
active
'
)
...
...
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