gateway: 입구의 지도를 iframe으로 변경
This commit is contained in:
+4
-8
@@ -105,13 +105,9 @@ $(document).ready(function() {
|
||||
});
|
||||
$map.find('.map_body').data('scale', scale);
|
||||
}
|
||||
});
|
||||
|
||||
reloadWorldMap({
|
||||
targetJson: "{0}/j_map_recent.php".format(runningServer.name),
|
||||
reqType: 'get',
|
||||
dynamicMapTheme: true,
|
||||
callback: function(data, rawObject) {
|
||||
$('#running_map .card-body').html(rawObject.history);
|
||||
window.fitIframe = function () {
|
||||
var iframe = document.querySelector('#running_map');
|
||||
iframe.style.height = iframe.contentWindow.document.body.scrollHeight + 'px';
|
||||
}
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user