1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-28 14:12:27 +01:00

add a default string for the RHS of programmatically defined user mappings in

:map list output
This commit is contained in:
Doug Kearns
2008-09-24 06:00:56 +00:00
parent a7c7719c25
commit 804b1fd62f

View File

@@ -431,9 +431,8 @@ liberator.Mappings = function () //{{{
{
list += "<tr>";
list += "<td> " + modeSign + " " + liberator.util.escapeHTML(maps[i].names[j]) + "</td>";
if (maps[i].rhs)
list += "<td> " + (maps[i].noremap ? "*" : " ") + "</td>"
+ "<td>" + liberator.util.escapeHTML(maps[i].rhs) + "</td>";
list += "<td> " + (maps[i].noremap ? "*" : " ") + "</td>";
list += "<td>" + liberator.util.escapeHTML(maps[i].rhs || "function () { ... }") + "</td>";
list += "</tr>";
}
}