]> jfr.im git - irc/quakenet/qwebirc.git/commitdiff
Fixes issue 61 (channel topic changing now requires a double click).
authorChris Porter <redacted>
Sat, 25 Jul 2009 23:00:03 +0000 (00:00 +0100)
committerChris Porter <redacted>
Sat, 25 Jul 2009 23:00:03 +0000 (00:00 +0100)
js/ui/frontends/qui.js

index 201b71f773aa10f9f9ee8f83a30f05a781d615d8..ab22ca379e20cee6ff667ef2ce808cbf3bed9819 100644 (file)
@@ -414,7 +414,7 @@ qwebirc.ui.QUI.Window = new Class({
       this.topic.addClass("topic");
       this.topic.addClass("tab-invisible");
       this.topic.set("html", "&nbsp;");
-      this.topic.addEvent("click", this.editTopic.bind(this));
+      this.topic.addEvent("dblclick", this.editTopic.bind(this));
       this.parentObject.qjsui.applyClasses("topic", this.topic);
       
       this.prevNick = null;