mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
refactor(scrollView): remove test code
This commit is contained in:
@@ -624,12 +624,11 @@ ionic.views.Scroll = ionic.views.View.inherit({
|
||||
if ('ontouchstart' in window) {
|
||||
|
||||
container.addEventListener("touchstart", function(e) {
|
||||
console.log('touchstart scrollview');
|
||||
if (e.defaultPrevented || shouldIgnorePress(e)) {
|
||||
return;
|
||||
}
|
||||
self.doTouchStart(e.touches, e.timeStamp);
|
||||
// e.preventDefault();
|
||||
e.preventDefault();
|
||||
}, false);
|
||||
|
||||
document.addEventListener("touchmove", function(e) {
|
||||
|
||||
Reference in New Issue
Block a user