diff options
Diffstat (limited to 'core/search')
-rw-r--r-- | core/search/js/search.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/search/js/search.js b/core/search/js/search.js index 22769ee2e48..bc67eb0e154 100644 --- a/core/search/js/search.js +++ b/core/search/js/search.js @@ -387,7 +387,9 @@ $(document).ready(function() { OC.Search = new OCA.Search($('#searchbox'), $('#searchresults')); }); } else { - OC.Search = new OCA.Search($('#searchbox'), $('#searchresults')); + _.defer(function() { + OC.Search = new OCA.Search($('#searchbox'), $('#searchresults')); + }); } }); |