Skip to content

Commit a8819cd

Browse files
committed
#9 remove unnecessary code
1 parent b392e8c commit a8819cd

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

js/csis_include_in_report.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -296,9 +296,7 @@ function replaceTranslate3dStyleByElement(element) {
296296
getComputedStyle(element)['opacity'] != '' &&
297297
parseFloat(getComputedStyle(element)['opacity']) != NaN
298298
) {
299-
if (element.className == '-loading') {
300-
// element.style['visibility'] = 'hidden';
301-
} else if (parseFloat(getComputedStyle(element)['opacity']) == 0.0) {
299+
if (parseFloat(getComputedStyle(element)['opacity']) == 0.0) {
302300
element.style['visibility'] = 'hidden';
303301
}
304302
}

0 commit comments

Comments
 (0)