diff options
Diffstat (limited to 'js/tbc_external_review.js')
-rwxr-xr-x | js/tbc_external_review.js | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/js/tbc_external_review.js b/js/tbc_external_review.js index 9f055d5..6115155 100755 --- a/js/tbc_external_review.js +++ b/js/tbc_external_review.js @@ -99,13 +99,15 @@ $(document).ready(function() { success: function(data) { $tr = $("tr"); $tr.each(function() { - if($(this).hasClass("dull")) { - $(this).removeClass("dull"); - $(this).find(".hide-show").html("Hide"); - } else { - $(this).addClass("dull"); - $(this).find(".hide-show").html("Show"); - $("thead tr").removeClass("dull"); + if(!$(this).hasClass("error-comment")) { + if($(this).hasClass("dull")) { + $(this).removeClass("dull"); + $(this).find(".hide-show").html("Hide"); + } else { + $(this).addClass("dull"); + $(this).find(".hide-show").html("Show"); + $("thead tr").removeClass("dull"); + } } }); } |