Skip to content

Commit

Permalink
refs mzubala#44 "remove" api method
Browse files Browse the repository at this point in the history
  • Loading branch information
Vineg authored Apr 22, 2019
1 parent 25c187d commit 916153a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jquery.custom-scrollbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@
this.removeScrollbar("vertical");
this.removeScrollbar("horizontal");
if (this.overviewAdded)
this.$element.unwrap();
this.$overview.replaceWith(this.$overview.contents());
if (this.viewPortAdded)
this.$element.unwrap();
this.$viewPort.replaceWith(this.$viewPort.contents());
},

removeScrollbar: function (orientation) {
Expand Down

0 comments on commit 916153a

Please sign in to comment.