]> jfr.im git - irc/rizon/qchat.git/commitdiff
remove dubious # hrefs
authorChris Porter <redacted>
Mon, 25 Aug 2014 16:18:11 +0000 (17:18 +0100)
committerChris Porter <redacted>
Mon, 25 Aug 2014 16:18:11 +0000 (17:18 +0100)
js/ui/frontends/qui.js
js/ui/url.js

index 615e0895056e3ac6cb7bf604c2fb306b0ebb87c2..948cd2dd65eb3d4a5cd3e0d55478c043d812d5b1 100644 (file)
@@ -381,7 +381,7 @@ qwebirc.ui.QUI.Window = new Class({
   initialize: function(parentObject, client, type, name, identifier) {
     this.parent(parentObject, client, type, name, identifier);
 
-    this.tab = new Element("a", {"href": "#"});
+    this.tab = new Element("a");
     this.tab.addClass("tab");
     this.tab.addEvent("focus", function() { this.blur() }.bind(this.tab));;
 
@@ -517,7 +517,6 @@ qwebirc.ui.QUI.Window = new Class({
       var e2 = new Element("a");
       e.appendChild(e2);
 
-      e2.href = "#";
       e2.set("text", "- " + x.text);
 
       e2.addEvent("focus", function() { this.blur() }.bind(e2));
@@ -557,8 +556,6 @@ qwebirc.ui.QUI.Window = new Class({
     
     var e = new Element("a");
     qwebirc.ui.insertAt(position, this.nicklist, e);
-    
-    e.href = "#";
     var span = new Element("span");
     if(this.parentObject.uiOptions.NICK_COLOURS) {
       var colour = realNick.toHSBColour(this.client);
index 0c7e6b021dd54d3f2f4ed1dd9ab2a9ccafcd75b2..36634ad090b7106660c5f031c95468682286787b 100644 (file)
@@ -34,7 +34,6 @@ qwebirc.ui.urlificate = function(element, text, execfn, cmdfn, window) {
     var punct = text.substring(newtext.length);
 
     var a = new Element("span");
-    a.href = "#";
     a.addClass("hyperlink-channel");
     a.addEvent("click", function(e) {
       new Event(e).stop();