friendica-addons/js_upload/file-uploader/tests/browser-bugs/safari-bug2.htm

19 lines
431 B
HTML
Raw Permalink Normal View History

2011-09-25 08:56:03 +00:00
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<script>
window.addEventListener('load', function(){
document.addEventListener('dragenter', function(e){
e.preventDefault();
},false);
document.addEventListener('dragover', function(e){
e.preventDefault();
// e.dataTransfer.effectAllowed is none
e.dataTransfer.dropEffect = 'copy';
},false);
},false);
</script>
</html>