diff --git a/apps/files_sharing/js/share.js b/apps/files_sharing/js/share.js index 3dedde48c2707c5c0dd607bba5031861b77eab9c..f00db30e96d61e39cd325f3f48129ab09fa8d225 100644 --- a/apps/files_sharing/js/share.js +++ b/apps/files_sharing/js/share.js @@ -210,9 +210,9 @@ OC.Share={ } $(document).ready(function() { - OC.Share.loadIcons(); if (typeof FileActions !== 'undefined') { + OC.Share.loadIcons(); FileActions.register('all', 'Share', function(filename) { // Return the correct sharing icon if (scanFiles.scanning) { return; } // workaround to prevent additional http request block scanning feedback