#689: Fix the profile edition link when the profile is shown on
[platal.git] / htdocs / javascript / xorg.js
index 0ce3169..aa4b114 100644 (file)
@@ -173,11 +173,11 @@ function auto_links() {
                                           "$1?display=light&$2$3");
         }
        if(node.className == 'popup2') {
-        node.onclick = function () { popWin(this,840,600); return false; };
+            node.onclick = function () { popWin(this,840,600); return false; };
        }
-    if(node.className == 'popup3') {
-        node.onclick = function () { popWin(this, 640, 800); return false; };
-    }
+        if(node.className == 'popup3') {
+            node.onclick = function () { popWin(this, 640, 800); return false; };
+        }
        if(matches = (/^popup_([0-9]*)x([0-9]*)$/).exec(node.className)) {
            var w = matches[1], h = matches[2];
            node.onclick = function () { popWin(this,w,h); return false; };