Skip to content

Commit e5fd9cd

Browse files
keep ssdv windows hidden when there are no images
1 parent 7bed8ba commit e5fd9cd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

cache.manifest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
CACHE MANIFEST
2-
# version 159
2+
# version 160
33

44
# gogole maps files
55
http://maps.google.com/maps/api/js?v=3.10&sensor=false&key=AIzaSyCOqkcNey4CCyG4X0X5qxHAhCgD8g5DwXg

js/ssdv.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ $('#ssdv .label').live('click',function() {
2222
});
2323

2424
var jsonp_callback = function(data) {
25-
if($('#ssdv').length == 0) $('#map').append(ssdv_html);
26-
2725
if(data.images.length > 0) {
26+
if($('#ssdv').length == 0) $('#map').append(ssdv_html);
27+
2828
var img = data.images[0];
2929
var time = new Date();
3030
time.setTime((img.timestamp + (new Date()).getTimezoneOffset()) * 1000);

0 commit comments

Comments
 (0)