IE8 does not support window.onclick

remotes/origin/stable5
Jörn Friedrich Dreyer 12 years ago
parent 0a6e9933fc
commit 0dd7fd0599
  1. 2
      apps/files/js/files.js
  2. 2
      core/js/js.js
  3. 2
      search/js/result.js

@ -524,7 +524,7 @@ $(document).ready(function() {
crumb.text(text);
}
$(window).click(function(){
$(document).click(function(){
$('#new>ul').hide();
$('#new').removeClass('active');
$('#new li').each(function(i,element){

@ -669,7 +669,7 @@ $(document).ready(function(){
$('#settings #expanddiv').click(function(event){
event.stopPropagation();
});
$(window).click(function(){//hide the settings menu when clicking outside it
$(document).click(function(){//hide the settings menu when clicking outside it
$('#settings #expanddiv').slideUp(200);
});

@ -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;

Loading…
Cancel
Save