From 5a5ed880fcfafe9f8aa753488d80b982ee10ea1a Mon Sep 17 00:00:00 2001 From: Artem Naluzhnyy Date: Thu, 1 Aug 2019 13:20:25 +0200 Subject: [PATCH] Fix copy&paste typo in b2bWhenScrollEnds Coverity-scan: CID-192000 Issue-ID: PORTAL-684 Signed-off-by: Artem Naluzhnyy Change-Id: I582732835a39240dafb9bed9a8ddd4a564b071b3 --- .../bower_components_external/b2b/js/b2b-angular/b2b-library.min.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ecomp-portal-FE-common/client/bower_components_external/b2b/js/b2b-angular/b2b-library.min.js b/ecomp-portal-FE-common/client/bower_components_external/b2b/js/b2b-angular/b2b-library.min.js index 75238243..ec955ed9 100644 --- a/ecomp-portal-FE-common/client/bower_components_external/b2b/js/b2b-angular/b2b-library.min.js +++ b/ecomp-portal-FE-common/client/bower_components_external/b2b/js/b2b-angular/b2b-library.min.js @@ -12942,7 +12942,7 @@ https://github.com/cwilso/AudioRecorder/blob/master/js/recorderjs/recorder.js }); } else if (attrs.axis === 'y') { visibleHeight = parseInt(attrs.height, 10) || b2bWhenScrollEndsConstants.height; - if (element.css('width')) { + if (element.css('height')) { visibleHeight = element.css('height').split('px')[0]; } -- 2.16.6