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'));
}
});
$('#mapTab').on('shown', function(e) {
google.maps.event.trigger(window.map, 'resize');
alert('done');
$('.nav-tabs a').on('shown.bs.tab', function (e) {
if ($(e.target).attr('href') === '#mapTab') {
google.maps.event.trigger(window.map, 'resize');
}
});
window.accessReview = function(id) {