commit
7c30c1a2e8
|
@ -524,7 +524,7 @@ $(document).ready(function() {
|
||||||
crumb.text(text);
|
crumb.text(text);
|
||||||
}
|
}
|
||||||
|
|
||||||
$(window).click(function(){
|
$(document).click(function(){
|
||||||
$('#new>ul').hide();
|
$('#new>ul').hide();
|
||||||
$('#new').removeClass('active');
|
$('#new').removeClass('active');
|
||||||
$('#new li').each(function(i,element){
|
$('#new li').each(function(i,element){
|
||||||
|
|
|
@ -669,7 +669,7 @@ $(document).ready(function(){
|
||||||
$('#settings #expanddiv').click(function(event){
|
$('#settings #expanddiv').click(function(event){
|
||||||
event.stopPropagation();
|
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);
|
$('#settings #expanddiv').slideUp(200);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,7 @@ OC.search.showResults=function(results){
|
||||||
OC.search.hide();
|
OC.search.hide();
|
||||||
event.stopPropagation();
|
event.stopPropagation();
|
||||||
});
|
});
|
||||||
$(window).click(function(event){
|
$(document).click(function(event){
|
||||||
OC.search.hide();
|
OC.search.hide();
|
||||||
});
|
});
|
||||||
OC.search.lastResults=results;
|
OC.search.lastResults=results;
|
||||||
|
|
Loading…
Reference in New Issue