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
5661855b
Commit
5661855b
authored
13 years ago
by
Jacob Thornton
Browse files
Options
Download
Email Patches
Plain Diff
actuall use interval option :P
parent
e89618a4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
js/bootstrap-carousel.js
+2
-2
js/bootstrap-carousel.js
with
2 additions
and
2 deletions
+2
-2
js/bootstrap-carousel.js
+
2
-
2
View file @
5661855b
...
@@ -34,7 +34,7 @@
...
@@ -34,7 +34,7 @@
Carousel
.
prototype
=
{
Carousel
.
prototype
=
{
cycle
:
function
()
{
cycle
:
function
()
{
this
.
interval
=
setInterval
(
$
.
proxy
(
this
.
next
,
this
),
5000
)
this
.
interval
=
setInterval
(
$
.
proxy
(
this
.
next
,
this
),
this
.
options
.
interval
)
return
this
return
this
}
}
...
@@ -100,7 +100,7 @@
...
@@ -100,7 +100,7 @@
}
}
$
.
fn
.
carousel
.
defaults
=
{
$
.
fn
.
carousel
.
defaults
=
{
interval
:
5000
interval
:
5000
}
}
$
.
fn
.
carousel
.
Constructor
=
Carousel
$
.
fn
.
carousel
.
Constructor
=
Carousel
...
...
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