harthur/kittydar

JS error when image is dropped onto the target

Opened this issue · 2 comments

The error is:

ReferenceError: Can't find variable: FileReader

It's the same for any image.

Safari 5.1.7/Mac, no Adobe Flash on the system (if that's relevant)

Thanks for reporting. Looks like Safari isn't getting the JS File API until v6.

Until then kittydar should definitely add a regular old input="file" selector as backup.

NetworkError: 404 Not Found - http://harthur.github.com/kittydar/bootstrap-dropdown.js"

if (!file.type.match(imageType)) {

TypeError: file is undefined
http://harthur.github.com/kittydar/demo.js
Line 64

Thats ff/linux btw same on chrome