From 12ce76026f35bc77c40c51b88972cf31e67e9cbf Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sun, 7 Feb 2021 00:09:28 -0700 Subject: [PATCH] Update ComposeModal, show filter warning for unsupported browsers --- resources/assets/js/components/ComposeModal.vue | 2 +- storage/app/.gitignore | 1 + storage/app/backups/.gitignore | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 storage/app/backups/.gitignore diff --git a/resources/assets/js/components/ComposeModal.vue b/resources/assets/js/components/ComposeModal.vue index 60642726..729cc03a 100644 --- a/resources/assets/js/components/ComposeModal.vue +++ b/resources/assets/js/components/ComposeModal.vue @@ -1131,7 +1131,7 @@ export default { // this is where the magic happens var ua = navigator.userAgent.toLowerCase(); if(ua.indexOf('firefox') == -1 && ua.indexOf('chrome') == -1) { - // swal('Oops!', 'Your browser does not support the filter feature. Please use Chrome or Firefox if you want to apply a filter.', 'error'); + swal('Oops!', 'Your browser does not support the filter feature.', 'error'); return; } diff --git a/storage/app/.gitignore b/storage/app/.gitignore index 5e39b5ee..693e05ed 100755 --- a/storage/app/.gitignore +++ b/storage/app/.gitignore @@ -1,4 +1,5 @@ * +!backups/ !public/ !remcache/ !cities.json diff --git a/storage/app/backups/.gitignore b/storage/app/backups/.gitignore new file mode 100644 index 00000000..d6b7ef32 --- /dev/null +++ b/storage/app/backups/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore