Permalink
Browse files

[#1029] google map height fix.

  • Loading branch information...
ScottDowne committed Apr 30, 2012
1 parent 237ca35 commit 785d8aa8a54c7807df1187e54a28f9b1a0ae5e81
Showing with 1 addition and 1 deletion.
  1. +1 −1 plugins/googlemap/popcorn.googlemap.js
@@ -121,7 +121,7 @@ var googleCallback;
newdiv = document.createElement( "div" );
newdiv.id = "actualmap" + i;
newdiv.style.width = "100%";
- newdiv.style.height = "100%";
+ newdiv.style.height = ( target && target.offsetHeight || 0 ) + "px";
i++;
// ensure the target container the user chose exists

0 comments on commit 785d8aa

Please sign in to comment.