Skip to content

Commit

Permalink
Fix bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
cnjsstong committed Jan 11, 2014
1 parent 1899aaf commit 4c883a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/directives/ng-panorama.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}
Expand Down

0 comments on commit 4c883a7

Please sign in to comment.