projects
/
KiwiIRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89ae7bb
)
Recording scroll back fix, causing #608
author
Darren
<darren@darrenwhitlen.com>
Wed, 22 Oct 2014 23:19:40 +0000
(
00:19
+0100)
committer
Darren
<darren@darrenwhitlen.com>
Wed, 22 Oct 2014 23:19:40 +0000
(
00:19
+0100)
client/src/models/channel.js
patch
|
blob
|
blame
|
history
diff --git
a/client/src/models/channel.js
b/client/src/models/channel.js
index 4193b082dd4388f7bb8f2c5a9c5798387613cd85..29a8dfa87647d59e307daffdcf552feefb6ecb69 100644
(file)
--- a/
client/src/models/channel.js
+++ b/
client/src/models/channel.js
@@
-99,7
+99,7
@@
_kiwi.model.Channel = _kiwi.model.Panel.extend({
\r
// Keep the scrolback limited
\r
if (bs.length > scrollback) {
\r
- bs
.splice(
scrollback);
\r
+ bs
= _.last(bs,
scrollback);
\r
}
\r
this.set({"scrollback": bs}, {silent: true});
\r
}
\r