]> jfr.im git - irc/quakenet/qwebirc.git/blobdiff - js/ui/url.js
Make channel, nick and auth links less obvious.
[irc/quakenet/qwebirc.git] / js / ui / url.js
index 3a841126f263750529043741335aec11b371490e..f8b70e660bcd72d1bedb34aa89e299bb682a6d0a 100644 (file)
@@ -30,8 +30,9 @@ qwebirc.ui.urlificate = function(element, text, execfn, cmdfn, window) {
     var newtext = text.replace(punct_re, "");
     var punct = text.substring(newtext.length);
 
-    var a = new Element("a");
+    var a = new Element("span");
     a.href = "#";
+    a.addClass("hyperlink-channel");
     a.addEvent("click", function(e) {
       new Event(e).stop();
       execfn("/JOIN " + newtext);