Extends: qwebirc.ui.StandardUI,
urlDispatcher: function(name, window) {
if(name == "qwhois") {
- return ["a", function(auth) {
+ return ["span", function(auth) {
this.client.exec("/MSG Q whois #" + auth);
}.bind(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);
border-top: 0;
}
-.qwebirc-qui .hyperlink-whois {
- cursor: pointer;
- cursor: hand;
+.qwebirc-qui .hyperlink-whois, .hyperlink-qwhois, .hyperlink-channel {
+ cursor: pointer;
+ cursor: hand;
+}
+
+.qwebirc-qui .hyperlink-whois:hover, .hyperlink-qwhois:hover, .hyperlink-channel:hover {
+ text-decoration: underline;
}
.qwebirc-qui div.embeddedwizard {