X-Git-Url: https://git.cweiske.de/grauphel.git/blobdiff_plain/2b5ff5d48b4ec80e0e0e18188689edefaeefe91d..HEAD:/js/loader.js?ds=sidebyside diff --git a/js/loader.js b/js/loader.js index 84c2342..8bff3b2 100644 --- a/js/loader.js +++ b/js/loader.js @@ -1,4 +1,6 @@ $(document).ready(function() { // translate search result type - OC.search.resultTypes.note = 'Note'; -}); \ No newline at end of file + if (OC.search !== undefined) { + OC.search.resultTypes.note = 'Note'; + } +});