aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/files/js/navigation.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/files/js/navigation.js b/apps/files/js/navigation.js
index 1fed29471f8..8f2d84d2077 100644
--- a/apps/files/js/navigation.js
+++ b/apps/files/js/navigation.js
@@ -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')