1

Fixing map display

This commit is contained in:
Alex Yatskov 2015-09-22 14:13:12 +09:00
parent 14d2734a2b
commit 081555db69

View File

@ -55,9 +55,10 @@
$('iframe').attr('src', $('iframe').attr('src')); $('iframe').attr('src', $('iframe').attr('src'));
} }
}); });
$('#mapTab').on('shown', function(e) { $('.nav-tabs a').on('shown.bs.tab', function (e) {
google.maps.event.trigger(window.map, 'resize'); if ($(e.target).attr('href') === '#mapTab') {
alert('done'); google.maps.event.trigger(window.map, 'resize');
}
}); });
window.accessReview = function(id) { window.accessReview = function(id) {