save images drawn with whiteboard to your CryptDrive

This commit is contained in:
ansuz
2017-08-02 16:51:41 +02:00
parent fe826133b3
commit 8b0831ac5d
3 changed files with 29 additions and 1 deletions

View File

@@ -254,6 +254,7 @@ define([
var createAreaHandlers = File.createDropArea = function ($area, $hoverArea) {
var counter = 0;
if (!$hoverArea) { $hoverArea = $area; }
if (!$area) { return; }
$hoverArea
.on('dragenter', function (e) {
e.preventDefault();