mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 11:58:00 +01:00
Favicon support in :bmarks/:history and :ls and fixed very slow vimperator loading with a large history by NOT loading all favicons at startup.
Also fixed :restart by accident showhow.
This commit is contained in:
@@ -143,13 +143,14 @@ const template = {
|
||||
return this.generic(
|
||||
<table>
|
||||
<tr align="left" class="hl-Title">
|
||||
<th>{header}</th><th>URL</th>
|
||||
<th/><th>{header}</th><th>URL</th>
|
||||
</tr>
|
||||
{
|
||||
this.map(items, function (item)
|
||||
<tr>
|
||||
<td>{util.clip(item.title, 50)}</td>
|
||||
<td style="width: 100%">
|
||||
<ul class="hl-CompItem">
|
||||
<li class="hl-CompIcon"><img src={item.icon || ""}/></li>
|
||||
<li class="hl-CompResult">{util.clip(item.title || "", 50)}</li>
|
||||
<li style="width: 100%">
|
||||
<a href="#" class="hl-URL">{item.url}</a> 
|
||||
{
|
||||
!(item.extra && item.extra.length) ? "" :
|
||||
@@ -161,8 +162,8 @@ const template = {
|
||||
})
|
||||
</span>
|
||||
}
|
||||
</td>
|
||||
</tr>)
|
||||
</li>
|
||||
</ul>)
|
||||
}
|
||||
</table>);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user