mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-09 16:24:51 +00:00
Update ComposeModal, show filter warning for unsupported browsers
This commit is contained in:
parent
88d801bdf0
commit
12ce76026f
3 changed files with 4 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
1
storage/app/.gitignore
vendored
1
storage/app/.gitignore
vendored
|
@ -1,4 +1,5 @@
|
||||||
*
|
*
|
||||||
|
!backups/
|
||||||
!public/
|
!public/
|
||||||
!remcache/
|
!remcache/
|
||||||
!cities.json
|
!cities.json
|
||||||
|
|
2
storage/app/backups/.gitignore
vendored
Normal file
2
storage/app/backups/.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
*
|
||||||
|
!.gitignore
|
Loading…
Reference in a new issue