You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@steve.apache.org by hu...@apache.org on 2016/02/11 12:14:36 UTC

svn commit: r1729807 - /steve/trunk/pysteve/www/htdocs/js/steve_rest.js

Author: humbedooh
Date: Thu Feb 11 11:14:36 2016
New Revision: 1729807

URL: http://svn.apache.org/viewvc?rev=1729807&view=rev
Log:
fix css here, otherwise big blank space

Modified:
    steve/trunk/pysteve/www/htdocs/js/steve_rest.js

Modified: steve/trunk/pysteve/www/htdocs/js/steve_rest.js
URL: http://svn.apache.org/viewvc/steve/trunk/pysteve/www/htdocs/js/steve_rest.js?rev=1729807&r1=1729806&r2=1729807&view=diff
==============================================================================
--- steve/trunk/pysteve/www/htdocs/js/steve_rest.js (original)
+++ steve/trunk/pysteve/www/htdocs/js/steve_rest.js Thu Feb 11 11:14:36 2016
@@ -211,8 +211,8 @@ function displayTally(code, response, is
             var pre = document.createElement('pre')
             pre.innerHTML = response.debug.join("\n")
             pre.setAttribute("id", "debug_" + issue)
-            pre.setAttribute("style", "visibility: hidden; border: 1px dotted #666; background: #FFE;")
-            obj.innerHTML += "<a href=\"javascript:void(document.getElementById('debug_" + issue + "').style.visibility = 'visible');\">Show debug</a>"
+            pre.setAttribute("style", "display: none; border: 1px dotted #666; background: #FFE;")
+            obj.innerHTML += "<a href=\"javascript:void(document.getElementById('debug_" + issue + "').style.display = 'block');\">Show debug</a>"
             obj.appendChild(pre)
         }
     }