diff --git a/web/src/util/polyfill.js b/web/src/util/polyfill.js index 931a449..7651c30 100644 --- a/web/src/util/polyfill.js +++ b/web/src/util/polyfill.js @@ -15,7 +15,7 @@ // along with this program. If not, see . if (!window.Iterator?.prototype.map) { - (new Map([])).__proto__.map = function(callbackFn) { + (new Map([])).keys().__proto__.map = function(callbackFn) { const output = [] let i = 0 for (const item of this) {