diff --git a/platform/chromium/vapi-common.js b/platform/chromium/vapi-common.js index 6020d6665..803081a28 100644 --- a/platform/chromium/vapi-common.js +++ b/platform/chromium/vapi-common.js @@ -56,6 +56,7 @@ vAPI.download = function(details) { var a = document.createElement('a'); a.href = details.url; a.setAttribute('download', details.filename || ''); + a.setAttribute('type', 'text/plain'); a.dispatchEvent(new MouseEvent('click')); };