mirror of
https://github.com/zero-peak/ZeroOmega.git
synced 2025-01-22 15:08:12 -05:00
Do not add BOM when downloading files. Fix #1521.
This commit is contained in:
parent
4c9052daf0
commit
47ada9bf1e
@ -104,4 +104,6 @@ angular.module('omega').factory 'downloadFile', ->
|
||||
else
|
||||
browser.downloads.download({url: url})
|
||||
else
|
||||
return saveAs
|
||||
return (blob, filename) ->
|
||||
noAutoBom = true
|
||||
saveAs(blob, filename, noAutoBom)
|
||||
|
Loading…
Reference in New Issue
Block a user