diff --git a/src/client/app/common/views/components/note-menu.vue b/src/client/app/common/views/components/note-menu.vue
index fd66cba8cb..5bc4bc7e41 100644
--- a/src/client/app/common/views/components/note-menu.vue
+++ b/src/client/app/common/views/components/note-menu.vue
@@ -8,6 +8,7 @@
import Vue from 'vue';
import { url } from '../../../config';
import copyToClipboard from '../../../common/scripts/copy-to-clipboard';
+import Ok from './ok.vue';
export default Vue.extend({
props: ['note', 'source', 'compact'],
@@ -103,12 +104,7 @@ export default Vue.extend({
(this as any).api('notes/favorites/create', {
noteId: this.note.id
}).then(() => {
- this.$swal({
- type: 'success',
- showConfirmButton: false,
- timer: 1250,
- customClass: 'swal-icon-only'
- });
+ (this as any).os.new(Ok);
this.destroyDom();
});
},
diff --git a/src/client/app/common/views/components/ok.vue b/src/client/app/common/views/components/ok.vue
new file mode 100644
index 0000000000..63bd784b18
--- /dev/null
+++ b/src/client/app/common/views/components/ok.vue
@@ -0,0 +1,175 @@
+
+
+
+
+
+
+
diff --git a/src/client/app/mobile/views/components/dialog.vue b/src/client/app/mobile/views/components/dialog.vue
index fff44a28c3..4f935cf03c 100644
--- a/src/client/app/mobile/views/components/dialog.vue
+++ b/src/client/app/mobile/views/components/dialog.vue
@@ -91,8 +91,6 @@ export default Vue.extend({