Skip to content

Commit e9ec47b

Browse files
committed
Make all descriptions generated by create_title() collapsible.
1 parent 2c3d444 commit e9ec47b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/functions.inc.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ function create_video_page($title, $description, $id, $header = "Video Info")
129129
*/
130130
function create_title($title, $description)
131131
{
132-
return "<h2>{$title}</h2><section id='description'>{$description}</section> ";
132+
return "<section id='description'><details open><summary><h2>{$title}</h2></summary>{$description}</details></section>\n";
133133
}
134134

135135
/**

0 commit comments

Comments
 (0)