Permalink
Browse files

Fix string concat bug in hiding rows query for shorter window

  • Loading branch information...
1 parent ce7008e commit e5e693158c7f9befe57d9ea62ac11211285c577b @jondistad committed Apr 1, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 javascripts/tty.js
View
@@ -33,7 +33,7 @@
if (oldRows < TTY.rows)
TTY.screen.find('li:hidden').slice(oldRows - TTY.rows).show();
else if (oldRows > TTY.rows)
- TTY.screen.find('li:visible:lt('+oldRows-TTY.rows+')').hide();
+ TTY.screen.find('li:visible:lt('+(oldRows - TTY.rows)+')').hide();
});
blinkCursor(1000);

0 comments on commit e5e6931

Please sign in to comment.