From f498c0303afdd9e384d08b05f8a23091bc92667d Mon Sep 17 00:00:00 2001 From: Tomas Jethro Pokorny Date: Sat, 18 Feb 2017 10:39:19 +0100 Subject: [PATCH] Oprava nefungujicich komentaru korektur. --- korektury/static/korektury/opraf.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/korektury/static/korektury/opraf.js b/korektury/static/korektury/opraf.js index 75591fe7..1e60f52f 100644 --- a/korektury/static/korektury/opraf.js +++ b/korektury/static/korektury/opraf.js @@ -143,7 +143,7 @@ function toggle_visibility(button){ // show comment form, when 'edit' or 'comment' button pressed function box_edit(button, action) { - var divbox = button.parentNode.parentNode.parentNode; + var divbox = button.parentNode.parentNode.parentNode.parentNode; var id = divbox.id; var divpointer = document.getElementById(divbox.id + '-pointer');