Skip to content

Commit

Permalink
#9 fix hide loading lable in table
Browse files Browse the repository at this point in the history
  • Loading branch information
therter committed Apr 3, 2020
1 parent 6d0f1b4 commit 35f83e8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion js/csis_include_in_report.js
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,9 @@ function replaceTranslate3dStyleByElement(element) {
getComputedStyle(element)['opacity'] != '' &&
parseFloat(getComputedStyle(element)['opacity']) != NaN
) {
if (parseFloat(getComputedStyle(element)['opacity']) == 0.0) {
if (element.className == '-loading') {
element.style['visibility'] = 'hidden';
} else if (parseFloat(getComputedStyle(element)['opacity']) == 0.0) {
element.style['visibility'] = 'hidden';
}
}
Expand Down

0 comments on commit 35f83e8

Please sign in to comment.