Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Thornton <jacobthornton@gmail.com>2011-12-01 10:42:22 +0400
committerJacob Thornton <jacobthornton@gmail.com>2011-12-01 10:42:22 +0400
commitcee2f61898f4807311402fed747a93ee68a31f8f (patch)
treec67d1273a3da814f0a3f8af8af4f4858986b037c /js/bootstrap-scrollspy.js
parentb1cba98aab5ee2d0576bbbbb92ba3488516290eb (diff)
define constructor on prototypes
Diffstat (limited to 'js/bootstrap-scrollspy.js')
-rw-r--r--js/bootstrap-scrollspy.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/js/bootstrap-scrollspy.js b/js/bootstrap-scrollspy.js
index fe34019ffc..8248b6cbdd 100644
--- a/js/bootstrap-scrollspy.js
+++ b/js/bootstrap-scrollspy.js
@@ -39,7 +39,9 @@
ScrollSpy.prototype = {
- refresh: function () {
+ constructor: ScrollSpy
+
+ , refresh: function () {
this.targets = this.$body
.find(this.selector)
.map(function () {