1
0
Fork 0

Update ComposeModal, show filter warning for unsupported browsers

This commit is contained in:
Daniel Supernault 2021-02-07 00:09:28 -07:00
parent 88d801bdf0
commit 12ce76026f
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7
3 changed files with 4 additions and 1 deletions

View File

@ -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;
}

View File

@ -1,4 +1,5 @@
*
!backups/
!public/
!remcache/
!cities.json

2
storage/app/backups/.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
*
!.gitignore