Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix bug

  • Loading branch information...
commit 320e6753ce62969d611ce1323cea34c6237b95f5 1 parent 38f90e3
@potomak authored
Showing with 4 additions and 4 deletions.
  1. +0 −1  public/stylesheets/style.css
  2. +4 −3 views/shared/facebook.haml
View
1  public/stylesheets/style.css
@@ -947,7 +947,6 @@ p.sep a {
width: 25px;
height: 25px;
margin-right: 15px;
- margin-bottom: 30px;
}
#requests .isometric::after {
View
7 views/shared/facebook.haml
@@ -9,7 +9,9 @@
frictionlessRequests: true
});
- manageRequests(#{params[:request_ids].split(',').to_json if params[:request_ids]});
+ $(document).ready(function() {
+ manageRequests(#{params[:request_ids].split(',').to_json if params[:request_ids]});
+ });
};
(function() {
@@ -28,8 +30,7 @@
$('#requests').append(
"<div class='request block' id='request_" + response.id + "'>" +
"<div class='from left isometric'><img class='avatar' width='25' src='http://graph.facebook.com/" + response.from.id + "/picture?type=square'></div>" +
- "<div class='from_name'>" + response.from.name + "</div>" +
- "<div class='object'>Would you like to fork <a href='" + response.data + "'>my drawing</a>?</div>" +
+ "<div class='from_name'>" + response.from.name + ": <i>Would you like to fork <a href='" + response.data + "'>my drawing</a>?</i></div>" +
"<div class='delete'><a href='#' onclick='deleteRequest(\"" + response.id + "\")'>Delete notification</a></div>" +
"</div>"
);
Please sign in to comment.
Something went wrong with that request. Please try again.