Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Calviño Sánchez <danxuliu@gmail.com>2019-01-31 18:38:18 +0300
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2019-01-31 19:40:14 +0300
commit2aee19a4ba664ad826f1e15fc78a82099e6da1d8 (patch)
tree660525d8330251871fe943fd6bda58b9f402c9f5 /apps/files/js/navigation.js
parent61ee72a89d65de50609d4335e21f64f810e98d9a (diff)
Remove hack to prefetch the starred trash icon
Since 6ad7f32938 SVG icons are directly embedded in "icons-vars.css", so the starred trash icon is now loaded along with the regular trash icon all at once. Therefore it is not needed to explicitly prefetch it using a hidden div. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'apps/files/js/navigation.js')
-rw-r--r--apps/files/js/navigation.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/apps/files/js/navigation.js b/apps/files/js/navigation.js
index acfda3b6ce8..f749bf5dd51 100644
--- a/apps/files/js/navigation.js
+++ b/apps/files/js/navigation.js
@@ -66,9 +66,6 @@
this.$el.on('click', 'li button', _.bind(this._onClickMenuButton, this));
var trashElement=$(".nav-trashbin");
-
- //this div is required to prefetch the icon, otherwise it takes a second to show up
- trashElement.append("<div class='nav-icon-trashbin-starred'></div>")
trashElement.droppable({
over: function( event, ui ) {
trashElement.addClass('dropzone-background')