Skip to content

Commit 6e359eb

Browse files
committed
fix: Directive v-exit-app should be available only for Android
1 parent 1d3dc79 commit 6e359eb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/lib/core-vue/directives/exit-app.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ Vue.directive('exit-app', {
44
bind: function() {
55
this.container = $(this.el);
66

7-
if (!quasar.runs.on.cordova) {
8-
this.container.addClass('cordova-only');
7+
if (!quasar.runs.on.android) {
8+
this.container.addClass('hidden');
99
return;
1010
}
1111

@@ -14,7 +14,7 @@ Vue.directive('exit-app', {
1414
});
1515
},
1616
unbind: function() {
17-
if (!quasar.runs.on.cordova) {
17+
if (!quasar.runs.on.android) {
1818
return;
1919
}
2020

0 commit comments

Comments
 (0)