javascript: add a window.fetch polyfill
This allows the autosave to work on browsers that don't support fetch: - IE 11 - Edge < 14 - Safari < 11
This commit is contained in:
parent
44f28241c4
commit
2309017727
3 changed files with 8 additions and 1 deletions
|
@ -3,6 +3,7 @@ import Turbolinks from 'turbolinks';
|
|||
import Rails from '@rails/ujs';
|
||||
import * as ActiveStorage from '@rails/activestorage';
|
||||
import '@rails/actiontext';
|
||||
import 'whatwg-fetch'; // window.fetch polyfill
|
||||
import Chartkick from 'chartkick';
|
||||
import Highcharts from 'highcharts';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue