mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
@ -204,7 +204,7 @@ export class Platform {
|
|||||||
|
|
||||||
navigatorPlatform(val) {
|
navigatorPlatform(val) {
|
||||||
if (arguments.length) {
|
if (arguments.length) {
|
||||||
this._bPlt = val;
|
this._bPlt = (val || '').toLowerCase();
|
||||||
}
|
}
|
||||||
return this._bPlt || '';
|
return this._bPlt || '';
|
||||||
}
|
}
|
||||||
|
@ -48,7 +48,7 @@ Platform.register({
|
|||||||
],
|
],
|
||||||
settings: {
|
settings: {
|
||||||
activator: function(p) {
|
activator: function(p) {
|
||||||
return (p.version().major >= 5) ? 'ripple' : 'none';
|
return (p.version().major < 5 && p.navigatorPlatform().indexOf('linux') > -1) ? 'none' : 'ripple';
|
||||||
},
|
},
|
||||||
hoverCSS: false,
|
hoverCSS: false,
|
||||||
keyboardHeight: 300,
|
keyboardHeight: 300,
|
||||||
|
Reference in New Issue
Block a user