Added possible improvement for mobile downloads
This commit is contained in:
parent
64b712e25b
commit
164e44618a
@ -256,6 +256,10 @@ angular.module('izhukov.utils', [])
|
||||
}
|
||||
|
||||
function downloadFile (url, mimeType, fileName) {
|
||||
// if (Config.Navigator.mobile) {
|
||||
// window.open(url, '_blank');
|
||||
// return;
|
||||
// }
|
||||
var anchor = $('<a>Download</a>')
|
||||
.css({position: 'absolute', top: 1, left: 1})
|
||||
.attr('href', url)
|
||||
|
Loading…
x
Reference in New Issue
Block a user