summaryrefslogtreecommitdiffstats
path: root/jquery-scrollspy.js
diff options
context:
space:
mode:
Diffstat (limited to 'jquery-scrollspy.js')
-rw-r--r--jquery-scrollspy.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/jquery-scrollspy.js b/jquery-scrollspy.js
index cd78fa1..7345496 100644
--- a/jquery-scrollspy.js
+++ b/jquery-scrollspy.js
@@ -3,8 +3,6 @@
* Author: @sxalexander
* Licensed under the MIT license
*/
-
-
;(function ( $, window, document, undefined ) {
$.fn.extend({
@@ -70,7 +68,7 @@
}
- /* triger tick event */
+ /* trigger tick event */
$(element).trigger('scrollTick', {position: position, inside: inside, enters: enters, leaves: leaves})
if($.isFunction(o.onTick)){
o.onTick(element, position, inside, enters, leaves);
@@ -96,4 +94,4 @@
})
-})( jQuery, window );
+})( jQuery, window, document, undefined );