Browse Source

When a point is both a reference point and a panorama, display it as a panorama (red circle with a link)

Baptiste Jonglez 9 years ago
parent
commit
92de353b02
1 changed files with 1 additions and 1 deletions
  1. 1 1
      panorama/static/panorama/js/pano.js

+ 1 - 1
panorama/static/panorama/js/pano.js

@@ -607,7 +607,7 @@ function tzoom(zv) {
 				    && is_located);
 
 		    this.pt_list[i] = new Array();
-		    if (ref_points[lbl] != undefined) {
+		    if (ref_points[lbl] != undefined && lnk == '') {
 			    typ = 'ref_point';
 			    if (!is_located) { 
 				    rxy = {