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 4c883a7 commit 1d50d7c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion angular-panorama.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,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
Loading

0 comments on commit 1d50d7c

Please sign in to comment.