mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-17 08:02:29 +02:00
only output default option's title as bold
This commit is contained in:
1 parent
5a0393ec27
commit
20cd16d1eb
1 file changed
+1
-1
+1
-1
@@ -198,7 +198,7 @@ const template = {
|
||||
this.map(opts, function (opt)
|
||||
<tr>
|
||||
<td>
|
||||
<span style={opt.isDefault ? "" : "font-weight: bold"}>{opt.pre}{opt.name}{opt.value}</span>
|
||||
<span style={opt.isDefault ? "" : "font-weight: bold"}>{opt.pre}{opt.name}</span><span>{opt.value}</span>
|
||||
{opt.isDefault || opt.default == null ? "" : <span class="extra-info"> (default: {opt.default})</span>}
|
||||
</td>
|
||||
</tr>)
|
||||
|
||||
Reference in new issue
Block a user