fix #236: drag-drop in Safari

This commit is contained in:
antelle 2016-06-04 11:46:13 +03:00
parent 466c0a24d1
commit 049f801c2e
2 changed files with 4 additions and 2 deletions

View File

@ -180,7 +180,8 @@ var MenuItemView = Backbone.View.extend({
},
dropAllowed: function(e) {
return ['text/group', 'text/entry'].indexOf(e.originalEvent.dataTransfer.types[0]) >= 0;
var types = e.originalEvent.dataTransfer.types;
return types.indexOf('text/group') >= 0 || types.indexOf('text/entry') >= 0;
},
dragstart: function(e) {

View File

@ -12,8 +12,9 @@ Auto-type, ui improvements
`+` ability to increase font size
`+` improved start page ux on mobile
`+` option to show app logs
`-` prevent second app instance on windows
`*` don't check updates at startup
`-` prevent second app instance on windows
`-` fix drag-drop in Safari
##### v1.1.4 (2016-04-21)
`-` fixed Firefox loading issues