Compare commits

...

3 Commits
0.4.2 ... 0.4.3

Author SHA1 Message Date
Hyunje Alex Jun
b461fa895b Release 0.4.3.
Patch notes
1. Quick fix for the scrolling problem in Firefox.
2013-08-01 02:16:44 +09:00
Hyunje Alex Jun
af7194114a Fix Firefox scrolling problem in OS X.
In OS X, there was the problem that the mousewheel event's
preventDefault() doesn't work well. This patch fixes the problem.
2013-08-01 02:03:44 +09:00
Hyunje Alex Jun
540834308e Fix typos in README.md. 2013-08-01 01:33:10 +09:00
8 changed files with 14 additions and 10 deletions

View File

@@ -63,7 +63,7 @@ If this option is true, when the scroll reach the end of the side, mousewheel ev
Default: false
### minScrollbarLength
When set to an integer value, the thumb part of the scrollbar will not shrink below that number of pixels
When set to an integer value, the thumb part of the scrollbar will not shrink below that number of pixels.
Default: null
How to Use

File diff suppressed because one or more lines are too long

View File

@@ -1,4 +1,4 @@
/*! perfect-scrollbar - v0.4.2
/*! perfect-scrollbar - v0.4.3
* http://noraesae.github.com/perfect-scrollbar/
* Copyright (c) 2013 HyeonJe Jun; Licensed MIT */

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,6 +1,6 @@
{
"name": "perfect-scrollbar",
"version": "0.4.2",
"version": "0.4.3",
"engines": {
"node": ">= 0.8.0"
},

View File

@@ -2,7 +2,7 @@
"name": "perfect-scrollbar",
"title": "perfect-scrollbar",
"description": "Tiny but perfect jquery scrollbar plugin.",
"version": "0.4.2",
"version": "0.4.3",
"author": {
"name": "HyeonJe Jun",
"email": "noraesae@yuiazu.net",

View File

@@ -233,6 +233,10 @@
e.preventDefault();
}
});
// fix Firefox scroll problem
$this.bind('DOMMouseScroll.perfect-scroll', function (e) { e.preventDefault(); });
$this.bind('MozMousePixelScroll.perfect-scroll', function (e) { e.preventDefault(); });
};
// bind mobile touch handler