diff --git a/pinry-spa/src/views/PinCreate.vue b/pinry-spa/src/views/PinCreate.vue index 3ca1a1a..f00bfd2 100644 --- a/pinry-spa/src/views/PinCreate.vue +++ b/pinry-spa/src/views/PinCreate.vue @@ -40,10 +40,7 @@ export default { ); }, onCreated() { - this.$buefy.dialog.alert( - 'Please turn off this page by hand since ' - + 'Javascript has no permission to do this', - ); + window.close(); }, createPin() { modals.openPinEdit(