mirror of https://github.com/pixelfed/pixelfed.git
Update ComposeModal, show filter warning for unsupported browsers
This commit is contained in:
parent
88d801bdf0
commit
12ce76026f
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
*
|
||||
!backups/
|
||||
!public/
|
||||
!remcache/
|
||||
!cities.json
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
*
|
||||
!.gitignore
|
Loading…
Reference in New Issue