Fix tab attributes when some specified as parameters.
This commit is contained in:
@@ -1689,7 +1689,11 @@ h1 {font-family: sans-serif; font-size: large; font-weight: bold}
|
||||
|
||||
$db_details_links_count_tabs++;
|
||||
if (!empty($attr)) {
|
||||
$attr = ' width="100%" ' . $attr;
|
||||
if ($cfg['LightTabs']) {
|
||||
$attr = ' ' . $attr;
|
||||
} else {
|
||||
$attr = ' style="display:block" ' . $attr;
|
||||
}
|
||||
} else {
|
||||
if ($cfg['LightTabs']) {
|
||||
$attr = ' ';
|
||||
|
Reference in New Issue
Block a user