mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
wrap exitApp in cordova ready
This commit is contained in:
@@ -108,7 +108,9 @@
|
||||
},
|
||||
|
||||
exitApp: function() {
|
||||
navigator.app && navigator.app.exitApp && navigator.app.exitApp();
|
||||
this.ready(function(){
|
||||
navigator.app && navigator.app.exitApp && navigator.app.exitApp();
|
||||
});
|
||||
},
|
||||
|
||||
showStatusBar: function(val) {
|
||||
|
||||
Reference in New Issue
Block a user