mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 07:04:57 +00:00
set class="btn" in link to open modal box, otherwise the button disappears
This commit is contained in:
parent
9691a106e2
commit
bbb9d5c0d6
|
@ -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;
|
||||
} /* }}} */
|
||||
|
||||
|
|
|
@ -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;
|
||||
} /* }}} */
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user