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
a0e98ade
Commit
a0e98ade
authored
10 years ago
by
fat
Browse files
Options
Download
Plain Diff
Merge branch 'fix-13386'
parents
b31c35b6
0aa01f63
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
js/carousel.js
+1
-0
js/carousel.js
with
1 addition
and
0 deletions
+1
-0
js/carousel.js
+
1
-
0
View file @
a0e98ade
...
@@ -199,6 +199,7 @@
...
@@ -199,6 +199,7 @@
var
href
var
href
var
$this
=
$
(
this
)
var
$this
=
$
(
this
)
var
$target
=
$
(
$this
.
attr
(
'
data-target
'
)
||
(
href
=
$this
.
attr
(
'
href
'
))
&&
href
.
replace
(
/.*
(?=
#
[^\s]
+$
)
/
,
''
))
// strip for ie7
var
$target
=
$
(
$this
.
attr
(
'
data-target
'
)
||
(
href
=
$this
.
attr
(
'
href
'
))
&&
href
.
replace
(
/.*
(?=
#
[^\s]
+$
)
/
,
''
))
// strip for ie7
if
(
!
$target
.
hasClass
(
'
carousel
'
))
return
var
options
=
$
.
extend
({},
$target
.
data
(),
$this
.
data
())
var
options
=
$
.
extend
({},
$target
.
data
(),
$this
.
data
())
var
slideIndex
=
$this
.
attr
(
'
data-slide-to
'
)
var
slideIndex
=
$this
.
attr
(
'
data-slide-to
'
)
if
(
slideIndex
)
options
.
interval
=
false
if
(
slideIndex
)
options
.
interval
=
false
...
...
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