projects
/
framework
/
web
/
web-ui-fw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3df08f0
)
Scrollview : change scrollbar draw
author
Jinhyuk Jun
<jinhyuk.jun@samsung.com>
Wed, 13 Mar 2013 06:12:47 +0000
(15:12 +0900)
committer
Youmin Ha
<youmin.ha@samsung.com>
Fri, 22 Mar 2013 11:20:36 +0000
(20:20 +0900)
empty page skip to draw scrollbar
Change-Id: I657852b8e3101e1662979cfb4f4ea308c615703b
src/js/jquery.mobile.tizen.scrollview.js
patch
|
blob
|
history
diff --git
a/src/js/jquery.mobile.tizen.scrollview.js
b/src/js/jquery.mobile.tizen.scrollview.js
index
a82745c
..
bb7630e
100644
(file)
--- a/
src/js/jquery.mobile.tizen.scrollview.js
+++ b/
src/js/jquery.mobile.tizen.scrollview.js
@@
-1332,10
+1332,10
@@
define( [ ], function ( ) {
vh = this._getViewHeight();
this._maxY = ch - vh;
- if ( this._maxY > 0 ) {
+ if ( this._maxY > 0
|| vh === 0
) {
this._maxY = 0;
}
- if (
this._$vScrollBar && vh
) {
+ if (
( this._$vScrollBar && vh ) || vh === 0
) {
thumb = this._$vScrollBar.find(".ui-scrollbar-thumb");
thumb.css( "height", (ch >= vh ? "0" :
(Math.floor(ch / vh * 100) || 1) + "%") );