diff --git a/js/storage.js b/js/storage.js index 712d3c9f2..9d43c897f 100644 --- a/js/storage.js +++ b/js/storage.js @@ -1036,7 +1036,7 @@ Storage.createReplayFile = function (room) { return buf; }; -Storage.createReplayFileHref = function(room) { +Storage.createReplayFileHref = function (room) { return 'data:text/plain;base64,' + encodeURIComponent(window.btoa(unescape(encodeURIComponent(Storage.createReplayFile(room))))); };