Reinstall silverbook
This commit is contained in:
11
js/child.js
11
js/child.js
@@ -1,6 +1,8 @@
|
||||
function toggleExif(id) {
|
||||
/*alert(id);*/
|
||||
/**/id2 = id.toString();
|
||||
/**/
|
||||
//alert(id);
|
||||
/**/
|
||||
id2 = id.toString();
|
||||
var exifDiv = document.getElementById(id2);
|
||||
if (exifDiv.style.display == "block") {
|
||||
exifDiv.style.display = "none";
|
||||
@@ -8,6 +10,11 @@ function toggleExif(id) {
|
||||
else {
|
||||
exifDiv.style.display = "block";
|
||||
google.maps.event.trigger(map, 'resize');
|
||||
/*
|
||||
var zoom = map.getZoom();
|
||||
map.setZoom( zoom );
|
||||
alert(zoom);
|
||||
*/
|
||||
map.setZoom( map.getZoom() );
|
||||
map.setCenter(marker.getPosition());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user