Reviewed by Adam Barth.
[codereviewtool] make enter work when an individual line is focused
https://bugs.webkit.org/show_bug.cgi?id=54843
* code-review.js:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79178
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2011-02-20 Ojan Vafai <ojan@chromium.org>
+
+ Reviewed by Adam Barth.
+
+ [codereviewtool] make enter work when an individual line is focused
+ https://bugs.webkit.org/show_bug.cgi?id=54843
+
+ * code-review.js:
+
2011-02-17 Ojan Vafai <ojan@chromium.org>
Reviewed by Adam Barth.
return true;
}
- var lines = $('.Line', focused);
+ var lines = focused.hasClass('Line') ? focused : $('.Line', focused);
var last = lines.last();
if (last.attr('data-has-comment')) {
unfreezeCommentFor(last);