git.cweiske.de
/
grauphel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Link to maintainership/funding post
[grauphel.git]
/
js
/
loader.js
diff --git
a/js/loader.js
b/js/loader.js
index 84c2342de14ba1b82352e31f6d128d8b1ec66940..8bff3b2766f6f6d2a18e3e687cce5216edcc4c03 100644
(file)
--- 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';
+ }
+});