fixed #1023; display close icon on diaspora alert faceboxes
This commit is contained in:
parent
512874a338
commit
a09150e4e0
3 changed files with 5 additions and 3 deletions
|
|
@ -80,7 +80,7 @@ var Stream = {
|
|||
});
|
||||
|
||||
$(".new_status_message").bind('ajax:failure', function(data, html , xhr) {
|
||||
json = $.parseJSON(html.response);
|
||||
json = $.parseJSON(html.responseText);
|
||||
if(json.errors.length != 0){
|
||||
Diaspora.widgets.alert.alert(json.errors);
|
||||
}else{
|
||||
|
|
|
|||
|
|
@ -29,6 +29,6 @@ Diaspora.widgets.add("alert", function() {
|
|||
|
||||
$.facebox({
|
||||
div: "#diaspora_alert"
|
||||
});
|
||||
}, 'diaspora_alert');
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
|
|||
|
|
@ -2378,6 +2378,8 @@ div.dislikes
|
|||
#facebox
|
||||
.close
|
||||
:display none
|
||||
.diaspora_alert~.close
|
||||
:display block
|
||||
|
||||
#aspect_edit_controls
|
||||
:margin
|
||||
|
|
|
|||
Loading…
Reference in a new issue