forked from revolunet/angular-carousel
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
13 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/** | ||
* Angular Panorama - Mimic Windows Phone's Panorama UI control. | ||
* @version v0.1.3 - 2014-01-03 | ||
* @version v0.1.3 - 2014-01-11 | ||
* @link http://cnjsstong2.github.com/angular-panorama | ||
* @author Tong Shen <[email protected]> | ||
* @license MIT License, http://www.opensource.org/licenses/MIT | ||
|
@@ -305,6 +305,11 @@ angular.module('angular-panorama') | |
function resize() { | ||
updateContainerWidth(); | ||
updateSlidePosition(); | ||
var minHeight=$window.innerHeight; | ||
if(iAttrs.minHeightOffset) { | ||
minHeight+=iAttrs.minHeightOffset; | ||
} | ||
container.css('min-height',minHeight+'px'); | ||
} | ||
|
||
function updateContainerWidth() { | ||
|
Oops, something went wrong.