only toggler for hidable element
This commit is contained in:
parent
90347a08dd
commit
1db23314b8
1 changed files with 2 additions and 1 deletions
|
@ -91,8 +91,9 @@ EOD;
|
|||
$b = $block->body;
|
||||
$html = "";
|
||||
$i = str_replace(' ', '_', $h) . $salt;
|
||||
$h_toggler = $hidable ? " shm-toggler" : "";
|
||||
if(!is_null($h)) $html .= "
|
||||
<h3 data-toggle-id='$i' class='hrr shm-toggler'>$h</h3>
|
||||
<h3 data-toggle-id='$i' class='hrr$h_toggler'>$h</h3>
|
||||
";
|
||||
if(!is_null($b)) {
|
||||
if(strpos($b, "<!-- cancel border -->") === FALSE) {
|
||||
|
|
Reference in a new issue