Wrap the publisher params tag in a div instead of a paragraph.

Safari 4.1.3 cited the closing params tag as being an unmatched tag.
Changing the paragraph to a div causes the error to disappear.
This commit is contained in:
Joe Bivins 2012-03-03 12:29:09 -05:00
parent e26fcf836a
commit 8df0bb85fe
2 changed files with 2 additions and 2 deletions

View file

@ -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'))

View file

@ -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;