From 1e1e28ae6e8d721049da11d098a7714095bd2324 Mon Sep 17 00:00:00 2001 From: John Mertens Date: Tue, 27 Sep 2011 13:23:47 -0700 Subject: [PATCH] Renamed 'unscrollbar' to 'remove' --- jquery.scroll.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/jquery.scroll.js b/jquery.scroll.js index fd80020..b0f6f1d 100644 --- a/jquery.scroll.js +++ b/jquery.scroll.js @@ -178,12 +178,12 @@ Changelog: // Remove the scrollbar (and the generated HTML elements). // // usage: - // $('selector').scrollbar("unscrollbar"); + // $('selector').scrollbar("remove"); // - unscrollbar: function() { + remove: function() { return this.each(function() { if(this.scrollbar) { - this.scrollbar.unscrollbar(); + this.scrollbar.remove(); } }); } @@ -493,7 +493,7 @@ Changelog: // // Remove scrollbar dom elements // - unscrollbar: function() { + remove: function() { var holder = this.container.find('.scrollbar-pane').find('*'); this.container.empty(); this.container.append(holder);