fn.bind(this)(this.prevNick.realNick);
this.removePrevMenu();
},
+ moveMenuClass: function() {
+ if(!this.prevNick)
+ return;
+ if(this.nicklist.firstChild == this.prevNick) {
+ this.prevNick.removeClass("selected-middle");
+ } else {
+ this.prevNick.addClass("selected-middle");
+ }
+ },
removePrevMenu: function() {
if(!this.prevNick)
return;
this.prevNick.removeClass("selected");
+ this.prevNick.removeClass("selected-middle");
if(this.prevNick.menu)
this.prevNick.removeChild(this.prevNick.menu);
this.prevNick = null;
this.removePrevMenu();
this.prevNick = e;
e.addClass("selected");
+ this.moveMenuClass();
e.menu = this.createMenu(x.realNick, e);
new Event(x).stop();
}.bind(this));
}.bind(this));
e.addEvent("focus", function() { this.blur() }.bind(e));
-
+ this.moveMenuClass();
return e;
},
nickListRemove: function(nick, stored) {
this.nicklist.removeChild(stored);
+ this.moveMenuClass();
},
updateTopic: function(topic) {
var t = this.topic;
color: black;
background: white;
text-decoration: none;
- border-top: #c8d2dc 1px solid;
border-bottom: #c8d2dc 1px solid;
cursor: default;
}
+.qwebirc-qui .nicklist a.selected-middle {
+ border-top: #c8d2dc 1px solid;
+}
+
div#noscript {
text-align: center;
font-family: Verdana, sans-serif;