mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
@@ -18,7 +18,7 @@ export class TapClick {
|
||||
self.disableClick = 0;
|
||||
self.disableClickLimit = 2500;
|
||||
|
||||
self.tapPolyfill = config.setting('tapPolyfill');
|
||||
self.tapPolyfill = (config.setting('tapPolyfill') !== false);
|
||||
|
||||
if (config.setting('mdRipple')) {
|
||||
self.activator = new RippleActivator(app, config);
|
||||
|
||||
@@ -71,9 +71,6 @@ IonicPlatform.register({
|
||||
],
|
||||
settings: {
|
||||
mode: 'ios',
|
||||
tapPolyfill: function(p) {
|
||||
return /iphone|ipad|ipod/i.test(p.navigatorPlatform());
|
||||
},
|
||||
keyboardScrollAssist: function(p) {
|
||||
return /iphone|ipad|ipod/i.test(p.navigatorPlatform());
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user