dtext: fix flicker in [expand] elements.

This commit is contained in:
evazion
2018-08-14 14:41:14 -05:00
parent 0b6e89c908
commit 56beed8a23
2 changed files with 1 additions and 1 deletions

View File

@@ -11,7 +11,6 @@ Dtext.initialize_links = function() {
Dtext.initialize_expandables = function($parent) {
$parent = $parent || $(document);
$parent.find(".expandable-content").hide();
$parent.find(".expandable-button").click(function(e) {
var button = $(this);
button.parent().next().fadeToggle("fast");

View File

@@ -79,6 +79,7 @@ div.prose {
}
div.expandable-content {
display: none;
padding: 0.4em;
border-top: 1px solid #666;