From 7821fb333377cbd3fce916c79e232ece6c8903e6 Mon Sep 17 00:00:00 2001 From: Matěj Cepl Date: Wed, 30 Mar 2011 02:53:18 +0200 Subject: Add logging to find out what's going on the computed style. --- data/lib/addNewLinks.js | 1 + 1 file changed, 1 insertion(+) diff --git a/data/lib/addNewLinks.js b/data/lib/addNewLinks.js index 020dbb3..735a0fc 100644 --- a/data/lib/addNewLinks.js +++ b/data/lib/addNewLinks.js @@ -59,6 +59,7 @@ function addNewLinks(d) { if (label) { var componentElement = document.getElementById("bz_component_input"); var computedStyle = window.getComputedStyle(componentElement); + console.log("computedStyle.display = " + computedStyle.display); if (computedStyle.display == "none") { label = document.getElementById("bz_component_edit_container"); }; -- cgit