don't show scrollbars
This commit is contained in:
parent
fb5792270a
commit
c11fdb9787
1 changed files with 2 additions and 1 deletions
|
@ -18,6 +18,7 @@ angular.module('podcast.directives', [])
|
||||||
myScroll = new iScroll(element[0], {
|
myScroll = new iScroll(element[0], {
|
||||||
useTransition: true,
|
useTransition: true,
|
||||||
topOffset: pullDownOffset,
|
topOffset: pullDownOffset,
|
||||||
|
vScrollbar: false,
|
||||||
onRefresh: function () {
|
onRefresh: function () {
|
||||||
if (pullDownEl.className.match('loading')) {
|
if (pullDownEl.className.match('loading')) {
|
||||||
pullDownEl.className = '';
|
pullDownEl.className = '';
|
||||||
|
@ -84,7 +85,7 @@ angular.module('podcast.directives', [])
|
||||||
}])
|
}])
|
||||||
.directive('scroll', function() {
|
.directive('scroll', function() {
|
||||||
return function(scope, element, attrs, feedItems) {
|
return function(scope, element, attrs, feedItems) {
|
||||||
var scroll = new iScroll(element[0]);
|
var scroll = new iScroll(element[0], {vScrollbar: false});
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
.directive('blob', function() {
|
.directive('blob', function() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue