enable iOS native scrolling

This commit is contained in:
Igor Zhukov 2014-02-10 21:30:44 +04:00
parent 02f8f5fa61
commit c82af8eb38
2 changed files with 3 additions and 3 deletions

View File

@ -55,7 +55,7 @@
<script type="text/javascript" src="js/services.js?21"></script>
<script type="text/javascript" src="js/controllers.js?29"></script>
<script type="text/javascript" src="js/filters.js?4"></script>
<script type="text/javascript" src="js/directives.js?19"></script>
<script type="text/javascript" src="js/directives.js?20"></script>
</body>
</html>

View File

@ -46,7 +46,7 @@ angular.module('myApp.directives', ['myApp.filters'])
moreNotified = false;
onContentLoaded(function () {
$(dialogsWrap).nanoScroller({preventPageScrolling: true, tabIndex: -1});
$(dialogsWrap).nanoScroller({preventPageScrolling: true, tabIndex: -1, iOSNativeScrolling: true});
});
var updateScroller = function () {
@ -116,7 +116,7 @@ angular.module('myApp.directives', ['myApp.filters'])
onContentLoaded(function () {
scrollableWrap.scrollTop = scrollableWrap.scrollHeight;
$(historyWrap).nanoScroller({preventPageScrolling: true, tabIndex: -1});
$(historyWrap).nanoScroller({preventPageScrolling: true, tabIndex: -1, iOSNativeScrolling: true});
});
var updateScroller = function (delay) {