mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 08:57:59 +01:00
make each row of the buffer list clickable and jump to the selected buffer
This commit is contained in:
@@ -319,7 +319,7 @@ function Bookmarks() //{{{
|
||||
}
|
||||
|
||||
|
||||
list += "<tr><td>" + title + "</td><td style=\"color: green; width: 100%\"><a href=\"#\">" + url + "</a>" + extra + "</td></tr>";
|
||||
list += "<tr><td>" + title + "</td><td style=\"width: 100%\"><a href=\"#\" class=\"hl-URL\">" + url + "</a>" + extra + "</td></tr>";
|
||||
}
|
||||
list += "</table>";
|
||||
|
||||
@@ -473,7 +473,7 @@ function History() //{{{
|
||||
if (title.length > 50)
|
||||
title = title.substr(0, 47) + "...";
|
||||
var url = vimperator.util.escapeHTML(items[i][0]);
|
||||
list += "<tr><td>" + title + "</td><td style=\"color: green;\"><a href=\"#\">" + url + "</a></td></tr>";
|
||||
list += "<tr><td>" + title + "</td><td><a href=\"#\" class=\"hl-URL\">" + url + "</a></td></tr>";
|
||||
}
|
||||
list += "</table>";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user