diff --git a/js/gamutable.es6.js b/js/gamutable.es6.js index 2ea8a45..92c27db 100644 --- a/js/gamutable.es6.js +++ b/js/gamutable.es6.js @@ -228,6 +228,7 @@ let monTableau = { }; }, mounted() { + localforage.setDriver(localforage[this.stockage.toUpperCase()]); this.chargerJson(); if (this.urlvuebloc) { fetch(this.urlvuebloc) diff --git a/js/gamutable.js b/js/gamutable.js index 86edbec..069dadb 100644 --- a/js/gamutable.js +++ b/js/gamutable.js @@ -281,6 +281,7 @@ var monTableau = { mounted: function mounted() { var _this = this; + localforage.setDriver(localforage[this.stockage.toUpperCase()]); this.chargerJson(); if (this.urlvuebloc) {