changeset 254:6983155d7c49

use the text-link style to make links look like links in the stream view
author Myk Melez <myk@mozilla.org>
date Thu, 21 Aug 2008 16:59:39 -0700
parents 5c4bd9e52d67
children 039895cd2511
files content/stream.js
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/content/stream.js	Thu Aug 21 16:53:17 2008 -0700
+++ b/content/stream.js	Thu Aug 21 16:59:39 2008 -0700
@@ -311,8 +311,10 @@
       body.className = "body";
       let div = this._document.createElementNS(HTML_NS, "div");
       let a = this._document.createElementNS(HTML_NS, "a");
-      if (message.link)
+      if (message.link) {
         this._unsafeSetURIAttribute(a, "href", message.link);
+        body.className += " text-link";
+      }
       a.appendChild(this._document.createTextNode(message.subject || "blank"));
       div.appendChild(a);
       body.appendChild(div);