diff --git a/boot/boot.js b/boot/boot.js index c6cd983a6..803601b0f 100644 --- a/boot/boot.js +++ b/boot/boot.js @@ -295,8 +295,8 @@ for `+`) to a string $tw.utils.decodeTWURIList = function(s) { return $tw.utils.decodeURIComponentSafe( s.split('&') - .map(s => s.replaceAll('+', ' ')) - .map(s => s.includes(' ') ? '[[' + s + ']]' : s) + .map(function(s) {return s.replaceAll('+', ' ')}) + .map(function(s) {return s.includes(' ') ? '[[' + s + ']]' : s}) .join( ' ') ) };