set class="btn" in link to open modal box, otherwise the button disappears

This commit is contained in:
Uwe Steinmann 2021-05-25 15:15:27 +02:00
parent 9691a106e2
commit bbb9d5c0d6
2 changed files with 4 additions and 0 deletions

View File

@ -1280,6 +1280,8 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
$attrs[] = array('role', 'button');
if(isset($config['class']))
$attrs[] = array('class', $config['class']);
else
$attrs[] = array('class', 'btn');
return $attrs;
} /* }}} */

View File

@ -1274,6 +1274,8 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
$attrs[] = array('role', 'button');
if(isset($config['class']))
$attrs[] = array('class', $config['class']);
else
$attrs[] = array('class', 'btn');
return $attrs;
} /* }}} */