1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 10:07:59 +01:00

add 't_vb' as an alias for 'visualbellstyle'

This commit is contained in:
Doug Kearns
2007-09-26 11:31:20 +00:00
parent 83903d0ade
commit d5e0711c6f

View File

@@ -199,7 +199,7 @@ function Options() //{{{
// and bookmarks toolbar
document.getElementById("PersonalToolbar").collapsed = value.indexOf("b") > -1 ? false : true;
document.getElementById("PersonalToolbar").hidden = value.indexOf("b") > -1 ? false : true;
// and original status bar (default), but show it, e.g. when needed for extensions
// and status bar (default on)
document.getElementById("status-bar").collapsed = value.indexOf("s") > -1 ? false : true;
document.getElementById("status-bar").hidden = value.indexOf("s") > -1 ? false : true;
}
@@ -595,10 +595,10 @@ function Options() //{{{
default_value: false
}
));
addOption(new Option(["visualbellstyle"], "string",
addOption(new Option(["visualbellstyle", "t_vb"], "string",
{
short_help: "CSS specification of the visual bell",
help: "To hide the visual bell use a value of \"display: none;\".",
help: "To hide the visual bell use a value of \"display: none;\" or unset it with <code class=\"command\">:set t_vb=</code>",
setter: function(value) { if (!value) value = "display: none;"; Options.setPref("visualbellstyle", value); },
default_value: "background-color: black; color: black;"
}