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 // this is where the magic happens
var ua = navigator.userAgent.toLowerCase(); var ua = navigator.userAgent.toLowerCase();
if(ua.indexOf('firefox') == -1 && ua.indexOf('chrome') == -1) { 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; return;
} }

View file

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

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

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