1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-29 14:59:16 +02:00

fix up code snippet

This commit is contained in:
Mark Otto
2012-12-20 13:41:08 -08:00
parent 30d8eb3ed5
commit b6575cc72e
6 changed files with 9 additions and 9 deletions

View File

@@ -164,7 +164,7 @@
if (!data) $this.data('carousel', (data = new Carousel(this, options)))
if (typeof option == 'number') data.to(option)
else if (action) data[action]()
else if (options.interval) data.cycle()
else if (options.interval) data.pause().cycle()
})
}