projects
/
KiwiIRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52302bc
)
Fix for bug on Firefox.
author
Jack Allnutt
<m2ys4u@Gmail.com>
Thu, 11 Oct 2012 11:25:10 +0000
(12:25 +0100)
committer
Jack Allnutt
<m2ys4u@Gmail.com>
Thu, 11 Oct 2012 11:25:10 +0000
(12:25 +0100)
Now able to click channel names to JOIN them on Firefox.
client/dev/view.js
patch
|
blob
|
blame
|
history
diff --git
a/client/dev/view.js
b/client/dev/view.js
index 8e10785caf7ebea212abe2f022b85882d69329f2..735a4c6776e8ca6fd2316c4063a955d999f24bc0 100644
(file)
--- a/
client/dev/view.js
+++ b/
client/dev/view.js
@@
-340,8
+340,13
@@
kiwi.view.Panel = Backbone.View.extend({
this.msg_count--;
\r
}
\r
},
\r
- chanClick: function (x) {
\r
- kiwi.gateway.join($(x.srcElement).text());
\r
+ chanClick: function (event) {
\r
+ if (event.target) {
\r
+ kiwi.gateway.join($(event.target).text());
\r
+ } else {
\r
+ // IE...
\r
+ kiwi.gateway.join($(event.srcElement).text());
\r
+ }
\r
},
\r
show: function () {
\r
var $this = this.$el;
\r