Created
June 24, 2017 16:40
-
-
Save Kasst1el/f2a19c4d61be1fe8b3a2e15108f8ca39 to your computer and use it in GitHub Desktop.
Height for modal fotorama
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
$(".gallery").click(function(){ | |
var innerWidthWindow = $(window).innerHeight() - 56; | |
$(".fotorama").data('height', innerWidthWindow).attr('data-height', innerWidthWindow); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment