diff --git a/app/views/status_messages/show.html.haml b/app/views/status_messages/show.html.haml index 34cbfe9e0..83cada857 100644 --- a/app/views/status_messages/show.html.haml +++ b/app/views/status_messages/show.html.haml @@ -12,7 +12,7 @@ = markdownify(@status_message.text, :youtube_maps => @status_message[:youtube_titles]) - for photo in @status_message.photos - .thumb_small= link_to (image_tag photo.url(:thumb_small)), photo_path(photo) + = link_to (image_tag photo.url(:thumb_small), :class => 'thumb_small'), photo_path(photo) %p.time = how_long_ago(@status_message) diff --git a/public/javascripts/web-socket-receiver.js b/public/javascripts/web-socket-receiver.js index 44be234a6..d398939f9 100644 --- a/public/javascripts/web-socket-receiver.js +++ b/public/javascripts/web-socket-receiver.js @@ -7,8 +7,8 @@ var WebSocketReceiver = { ws.onmessage = WSR.onMessage; ws.onclose = function() { Diaspora.widgets.alert.alert( - Diaspora.widgets.i18n.t("web_socket.disconnected.title"), - Diaspora.widgets.i18n.t("web_socket.disconnected.body") + Diaspora.widgets.i18n.t("web_sockets.disconnected.title"), + Diaspora.widgets.i18n.t("web_sockets.disconnected.body") ); WSR.debug("socket closed");