diff --git a/app/views/shared/_publisher.html.haml b/app/views/shared/_publisher.html.haml index 2c76eab50..4c8d86094 100644 --- a/app/views/shared/_publisher.html.haml +++ b/app/views/shared/_publisher.html.haml @@ -12,7 +12,7 @@ .content_creation = form_for(StatusMessage.new) do |status| = status.error_messages - %p + %div %params #publisher_textarea_wrapper = link_to( image_tag('deletelabel.png'), "#", :id => "hide_publisher", :title => t('.discard_post')) diff --git a/public/javascripts/app/models/post.js b/public/javascripts/app/models/post.js index 1a27b5a8a..df3abb01e 100644 --- a/public/javascripts/app/models/post.js +++ b/public/javascripts/app/models/post.js @@ -24,7 +24,7 @@ app.models.Post = Backbone.Model.extend({ var timestamp = new Date(this.get(field)) /1000; if (isNaN(timestamp)) { - timestamp = this.legacyTimeOf(field); + timestamp = this.legacyTimeOf(field); } return timestamp;