Permalink
Browse files

Fixes regression in Issue #80. DIVs should display none by default

  • Loading branch information...
1 parent f6f6fd0 commit 11745e4e0aaec7b9b2d5c3248827d04aa8338906 @chipbennett committed Nov 26, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 functions/widgets.php
View
@@ -92,7 +92,7 @@ function oenology_showhide_widget_content_open() {
$showhide .= 'Click to ';
$showhide .= '<span style="color:#5588aa;" onclick="d=this.parentElement.nextElementSibling; d.style.display==\'none\' ? d.style.display=\'block\' : d.style.display=\'none\';">view/hide</span>';
$showhide .= '<br /></span>';
- $showhide .= '<div>';
+ $showhide .= '<div style="display:none;">';
return $showhide;
}

0 comments on commit 11745e4

Please sign in to comment.