2011-02-20 Ojan Vafai <ojan@chromium.org>
authorojan@chromium.org <ojan@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 21 Feb 2011 07:09:28 +0000 (07:09 +0000)
committerojan@chromium.org <ojan@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 21 Feb 2011 07:09:28 +0000 (07:09 +0000)
        Recommit accidental revert.
        r79180 accidentally revereted r79178.
        * code-review.js:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@79190 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Websites/bugs.webkit.org/ChangeLog
Websites/bugs.webkit.org/code-review.js

index 90013c4..ef57a77 100644 (file)
@@ -1,5 +1,11 @@
 2011-02-20  Ojan Vafai  <ojan@chromium.org>
 
+        Recommit accidental revert.
+        r79180 accidentally revereted r79178.
+        * code-review.js:
+
+2011-02-20  Ojan Vafai  <ojan@chromium.org>
+
         Reviewed by Adam Barth.
 
         [codereviewtool] add more help information
index 134d6f4..a508124 100644 (file)
@@ -1511,7 +1511,7 @@ var CODE_REVIEW_UNITTEST;
       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);