enable iOS native scrolling
This commit is contained in:
parent
02f8f5fa61
commit
c82af8eb38
@ -55,7 +55,7 @@
|
|||||||
<script type="text/javascript" src="js/services.js?21"></script>
|
<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/controllers.js?29"></script>
|
||||||
<script type="text/javascript" src="js/filters.js?4"></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>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -46,7 +46,7 @@ angular.module('myApp.directives', ['myApp.filters'])
|
|||||||
moreNotified = false;
|
moreNotified = false;
|
||||||
|
|
||||||
onContentLoaded(function () {
|
onContentLoaded(function () {
|
||||||
$(dialogsWrap).nanoScroller({preventPageScrolling: true, tabIndex: -1});
|
$(dialogsWrap).nanoScroller({preventPageScrolling: true, tabIndex: -1, iOSNativeScrolling: true});
|
||||||
});
|
});
|
||||||
|
|
||||||
var updateScroller = function () {
|
var updateScroller = function () {
|
||||||
@ -116,7 +116,7 @@ angular.module('myApp.directives', ['myApp.filters'])
|
|||||||
|
|
||||||
onContentLoaded(function () {
|
onContentLoaded(function () {
|
||||||
scrollableWrap.scrollTop = scrollableWrap.scrollHeight;
|
scrollableWrap.scrollTop = scrollableWrap.scrollHeight;
|
||||||
$(historyWrap).nanoScroller({preventPageScrolling: true, tabIndex: -1});
|
$(historyWrap).nanoScroller({preventPageScrolling: true, tabIndex: -1, iOSNativeScrolling: true});
|
||||||
});
|
});
|
||||||
|
|
||||||
var updateScroller = function (delay) {
|
var updateScroller = function (delay) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user