mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 16:22:27 +01:00
Fix some brokenness.
This commit is contained in:
@@ -1332,7 +1332,7 @@ liberator.Buffer = function () //{{{
|
||||
(item.extra && item.extra.length) ?
|
||||
<span style="color: gray;">
|
||||
({
|
||||
[<>{e[0]}: <span color={e[2]}>{e[1]}</span></>
|
||||
[<>{e[0]}: <span style={"color: " + e[2]}>{e[1]}</span></>
|
||||
for each (e in item.extra)].reduce(this.add, <></>)
|
||||
})
|
||||
</span>
|
||||
|
||||
@@ -716,13 +716,13 @@ liberator.Tabs = function () //{{{
|
||||
for (let [i, item] in Iterator(liberator.completion.buffer("")[1]))
|
||||
{
|
||||
if (i == liberator.tabs.index())
|
||||
indicator = " <span style=\"color: blue\">%</span> ";
|
||||
indicator = "%"
|
||||
else if (i == liberator.tabs.index(liberator.tabs.alternate))
|
||||
indicator = " <span style=\"color: blue\">#</span> ";
|
||||
indicator = "#";
|
||||
else
|
||||
indicator = " ";
|
||||
|
||||
let [number, title] = items[i][0].split(/:\s+/, 2);
|
||||
let [number, title] = item[0].split(/:\s+/, 2);
|
||||
items +=
|
||||
<tr>
|
||||
<td align="right"> {number}</td>
|
||||
|
||||
Reference in New Issue
Block a user