Fix copy&paste typo in b2bWhenScrollEnds
[portal.git] / ecomp-portal-FE-common / client / bower_components_external / b2b / js / b2b-angular / b2b-library.min.js
index 7523824..ec955ed 100644 (file)
@@ -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]; 
                 }