summaryrefslogtreecommitdiffstats
path: root/search/js
diff options
context:
space:
mode:
authorJörn Friedrich Dreyer <jfd@butonic.de>2013-02-21 17:38:25 +0100
committerJörn Friedrich Dreyer <jfd@butonic.de>2013-02-21 17:38:25 +0100
commit0dd7fd0599e0757abc81677ccbb8d4a6839a5f79 (patch)
treed5bc4f2cd01fd29cacd2d7f8b71cda97a0e1d9de /search/js
parent0a6e9933fc669a95d874985cea82ed0c8591a025 (diff)
downloadnextcloud-server-0dd7fd0599e0757abc81677ccbb8d4a6839a5f79.tar.gz
nextcloud-server-0dd7fd0599e0757abc81677ccbb8d4a6839a5f79.zip
IE8 does not support window.onclick
Diffstat (limited to 'search/js')
-rw-r--r--search/js/result.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/search/js/result.js b/search/js/result.js
index cadb0d0aabe..78fa8efc8e9 100644
--- a/search/js/result.js
+++ b/search/js/result.js
@@ -28,7 +28,7 @@ OC.search.showResults=function(results){
OC.search.hide();
event.stopPropagation();
});
- $(window).click(function(event){
+ $(document).click(function(event){
OC.search.hide();
});
OC.search.lastResults=results;