mirror of
https://github.com/chylex/Discord-History-Tracker.git
synced 2025-04-13 07:17:12 +03:00
Fix minification error in updated download code
This commit is contained in:
parent
7e4ba4b0b3
commit
6d4edcc17e
@ -39,4 +39,5 @@ memoizedProps
|
||||
props
|
||||
children
|
||||
channel
|
||||
messages
|
||||
messages
|
||||
msSaveBlob
|
@ -65,7 +65,7 @@ var DOM = (function(){
|
||||
downloadTextFile: (fileName, fileContents) => {
|
||||
var blob = new Blob([fileContents], { "type": "octet/stream" });
|
||||
|
||||
if (window.navigator.msSaveBlob){
|
||||
if ("msSaveBlob" in window.navigator){
|
||||
return window.navigator.msSaveBlob(blob, fileName);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user