summaryrefslogtreecommitdiffstats
path: root/apps/files/js/breadcrumb.js
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2017-11-08 19:03:32 +0100
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2017-11-08 19:03:32 +0100
commit584272962a0971d1025c1577f578985d0de7ec83 (patch)
tree8c7b653af95ce6f8dd55c63927504a5fc147a17e /apps/files/js/breadcrumb.js
parentb001060556e93ba4c1e1f7aff48390a7612e0b56 (diff)
downloadnextcloud-server-584272962a0971d1025c1577f578985d0de7ec83.tar.gz
nextcloud-server-584272962a0971d1025c1577f578985d0de7ec83.zip
Improve drag & drop and fix some background issue if d&d on narrow windows
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/files/js/breadcrumb.js')
-rw-r--r--apps/files/js/breadcrumb.js10
1 files changed, 2 insertions, 8 deletions
diff --git a/apps/files/js/breadcrumb.js b/apps/files/js/breadcrumb.js
index d57c46a3eeb..fc907d5ccc7 100644
--- a/apps/files/js/breadcrumb.js
+++ b/apps/files/js/breadcrumb.js
@@ -189,14 +189,8 @@
over: this.onOver,
out: this.onOut,
tolerance: 'pointer',
- hoverClass: 'canDrop'
- });
- // Only toggle class to open the menu
- this.$el.find('.crumb.crumbmenu').droppable({
- over: this.onOver,
- out: this.onOut,
- tolerance: 'pointer',
- hoverClass: 'canDrop'
+ hoverClass: 'canDrop',
+ greedy: true
});
}
// Menu is destroyed on every change, we need to init it