Skip to content

Commit

Permalink
jQuery: use .hide() as a shortcut to setting CSS property
Browse files Browse the repository at this point in the history
  • Loading branch information
atodorov authored and asankov committed Dec 2, 2020
1 parent 919b06d commit b7b2f95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tcms/testruns/static/testruns/js/get.js
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ function renderTestExecutionRow(testExecution) {
template.find('.test-execution-status-name').html(testExecutionStatus.name).css('color', testExecutionStatus.color)

if (!permissions.addComment) {
template.find('.comment-form').css('display', 'none')
template.find('.comment-form').hide()
return template
}

Expand Down

0 comments on commit b7b2f95

Please sign in to comment.