Update ComposeModal, show filter warning for unsupported browsers

pull/2638/head
Daniel Supernault 2021-02-07 00:09:28 -07:00
rodzic 88d801bdf0
commit 12ce76026f
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 0DEF1C662C9033F7
3 zmienionych plików z 4 dodań i 1 usunięć

Wyświetl plik

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

Wyświetl plik

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

2
storage/app/backups/.gitignore vendored 100644
Wyświetl plik

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