From 612870a9412cabdc52d170d06e68a8d454c0829b Mon Sep 17 00:00:00 2001 From: noformnocontent Date: Tue, 29 Jan 2013 11:03:59 +0100 Subject: [PATCH] p>p to br+text+span --- WebKit/scripts/controller/Profile.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/WebKit/scripts/controller/Profile.js b/WebKit/scripts/controller/Profile.js index 33fc2ef..bb7b401 100644 --- a/WebKit/scripts/controller/Profile.js +++ b/WebKit/scripts/controller/Profile.js @@ -502,9 +502,8 @@ function(HostApp, Core, Paths, URI) { entity_tag.href = profile.entity; entity_tag.title = profile.entity; - var follows_since = document.createElement("p"); - follows_since.innerText = "follows since "; - + var new_line = document.createElement("br"); + var follows_since = document.createTextNode("follows since "); var follows_since_time = document.createElement("span"); follows_since_time.innerText = this.ISODateString(new Date(profile.created_at * 1000)); follows_since_time.title = follows_since_time.innerText; @@ -512,8 +511,9 @@ function(HostApp, Core, Paths, URI) { jQuery(follows_since_time).timeago(); p.appendChild(entity_tag); - follows_since.appendChild(follows_since_time); + p.appendChild(new_line); p.appendChild(follows_since); + p.appendChild(follows_since_time); div.appendChild(p); var profile_callback = function(p) {