dtext: fix flicker in [expand] elements.

This commit is contained in:
evazion
2018-08-14 16:04:13 -05:00
parent 0b6e89c908
commit 56beed8a23
2 changed files with 1 additions and 1 deletions
-1
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");
@@ -79,6 +79,7 @@ div.prose {
}
div.expandable-content {
display: none;
padding: 0.4em;
border-top: 1px solid #666;