Commits

Peter Suter committed bf1f3ac

0.13dev: "Comments only" checkbox should not affect comment preview.

Resolves #10625.

  • Participants
  • Parent commits c49de16
  • Branches trunk

Comments (0)

Files changed (1)

File trac/htdocs/js/threaded_comments.js

   var commentsOnly = $("#trac-comments-only-toggle");
   var applyCommentsOnly = function() {
     if (commentsOnly.attr('checked')) {
-      $("ul.changes").hide();
+      $("div.change ul.changes").hide();
       $("div.change:not(:has(.comment))").hide();
     } else {
-      $("ul.changes").show();
+      $("div.change ul.changes").show();
       $("div.change:not(:has(.comment))").show();
     }
   };