diff --git a/src/directives/ng-panorama.js b/src/directives/ng-panorama.js index ea7b6eb..870abda 100644 --- a/src/directives/ng-panorama.js +++ b/src/directives/ng-panorama.js @@ -74,7 +74,7 @@ angular.module('angular-panorama') function updateContainerHeight() { var minHeight=$window.innerHeight; if(iAttrs.minHeightOffset) { - minHeight+=iAttrs.minHeightOffset; + minHeight+=parseInt(iAttrs.minHeightOffset); } container.css('min-height',minHeight+'px'); }