mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 01:30:50 -04:00
Fixed highlightdelay on first drag
Signed-off-by: Felix Nüsse <Felix.nuesse@t-online.de>
This commit is contained in:
parent
5c2360961e
commit
91d1154ee0
1 changed files with 3 additions and 1 deletions
|
|
@ -66,7 +66,9 @@
|
|||
this.$el.on('click', 'li button', _.bind(this._onClickMenuButton, this));
|
||||
|
||||
var favListElement=$(".nav-trashbin");
|
||||
console.log(favListElement);
|
||||
|
||||
//this div is required to prefetch the icon, otherwise it takes a second to show up
|
||||
favListElement.append("<div class='nav-icon-trashbin-starred'></div>")
|
||||
favListElement.droppable({
|
||||
over: function( event, ui ) {
|
||||
favListElement.addClass('dropzone-background')
|
||||
|
|
|
|||
Loading…
Reference in a new issue