Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Re-revert the isMac test for webkitGetAsEntry, otherwise utf8 files a…
Browse files Browse the repository at this point in the history
…re skipped on MacOS.
  • Loading branch information
cdujeu committed Apr 15, 2014
1 parent f9ff1b7 commit f3c067c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/plugins/uploader.html/class.XHRUploader.js
Expand Up @@ -121,7 +121,7 @@ Class.create("XHRUploader", {
handleDropEventResults: function(items, files){

var isMac = navigator.platform.toUpperCase().indexOf("MAC") >= 0;
if ( /*!isMac && */ items && items.length && (items[0].getAsEntry || items[0].webkitGetAsEntry)) {
if ( !isMac && items && items.length && (items[0].getAsEntry || items[0].webkitGetAsEntry)) {
var callback = this.addListRow.bind(this);
var error = (console ? console.log : function(err){window.alert(err); }) ;
var length = items.length;
Expand Down

0 comments on commit f3c067c

Please sign in to comment.