1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-04-21 16:01:30 +02:00

Be nicer to color blind people.

This commit is contained in:
Kris Maglione
2009-09-17 08:27:08 -04:00
parent 990645c397
commit a29c4bd9f5
2 changed files with 16 additions and 12 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ Highlights.prototype.CSS = <![CDATA[
Object color: maroon;
String color: green;
Enabled color: green;
Enabled color: blue;
Disabled color: red;
Normal color: black; background: white;
+4
View File
@@ -135,6 +135,8 @@ function setCharPref(name, value)
}
function loadPref(name, store, type)
{
try
{
if (store)
var pref = getCharPref(name);
@@ -150,6 +152,8 @@ function loadPref(name, store, type)
if (result instanceof type)
return result;
}
catch (e) {}
}
function savePref(obj)
{