source/javascripts/jquery.erToc.js in refills-0.1.0 vs source/javascripts/jquery.erToc.js in refills-0.2.0

- old
+ new

@@ -321,15 +321,10 @@ } else { goTop = base.$nodes.filter(base.options.goTopNodes); } top = $('<a href="#" class="' + base.options.goTopClass + '" title="' + text + '">' + text + '</a>'); - goTop.append(top); - goTop.children('a.' + base.options.goTopClass).click(function() { - base.$body.animate({scrollTop: (base.$topNode.offset().top - base.options.goTopBaseHeight)}, base.options.scrollSpeed); - return false; - }); }; /* * Get node element in which level */ @@ -472,6 +467,6 @@ return this.each(function(i){ (new $.erToc(this, options)); }); }; -})(jQuery); \ No newline at end of file +})(jQuery);