Skip to content

Commit

Permalink
Update to v1.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrien Grsmto committed Jan 2, 2014
1 parent 540f539 commit 3d911ff
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,13 @@ If you are using another plugins like jQuery.scrollTo or simply want to access t

$('#myElement').simplebar('getScrollElement');

###Add content dynamically (ajax)
You can retrieve the element containing datas like this :

$('#myElement').simplebar('getContentElement');

This is best to use this rather than querying it via DOM cause it avoids problem when the plugin is disabled (like on mobiles).

###Non-JS fallback

SimpleBar hides the browser's default scrollbars, which obviously is undesirable if the user has JavaScript disabled. To restore the browser's scrollbars you can include the following `noscript` element in your document's `head`:
Expand Down
2 changes: 1 addition & 1 deletion dist/simplebar.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* SimpleBar.js - v1.1.0
* SimpleBar.js - v1.1.1
* Scrollbars, simpler.
* https://grsmto.github.io/simplebar/
*
Expand Down
2 changes: 1 addition & 1 deletion dist/simplebar.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"url" : "http://github.com/grsmto/simplebar.git"
},
"homepage": "https://grsmto.github.io/simplebar/",
"version": "1.1.0",
"version": "1.1.1",
"devDependencies": {
"grunt": "~0.4.1",
"grunt-cli": "~0.1.7",
Expand Down

0 comments on commit 3d911ff

Please sign in to comment.