|
|
|
@ -1393,6 +1393,7 @@ angular.module('myApp.directives', ['myApp.filters'])
@@ -1393,6 +1393,7 @@ angular.module('myApp.directives', ['myApp.filters'])
|
|
|
|
|
|
|
|
|
|
if (e.type == 'dragenter' || e.type == 'dragover') { |
|
|
|
|
if (dragStateChanged) { |
|
|
|
|
$(emojiButton).hide(); |
|
|
|
|
$(dropbox) |
|
|
|
|
.css({height: messageFieldWrap.offsetHeight + 2, width: messageFieldWrap.offsetWidth}) |
|
|
|
|
.show(); |
|
|
|
@ -1406,6 +1407,7 @@ angular.module('myApp.directives', ['myApp.filters'])
@@ -1406,6 +1407,7 @@ angular.module('myApp.directives', ['myApp.filters'])
|
|
|
|
|
} |
|
|
|
|
dragTimeout = setTimeout(function () { |
|
|
|
|
$(dropbox).hide(); |
|
|
|
|
$(emojiButton).show(); |
|
|
|
|
dragStarted = false; |
|
|
|
|
dragTimeout = false; |
|
|
|
|
}, 300); |
|
|
|
|