mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 02:17:59 +01:00
quick fix for hints.hide(), will need to change to something better
This commit is contained in:
@@ -234,6 +234,8 @@ outer:
|
|||||||
if (!win)
|
if (!win)
|
||||||
win = window.content;
|
win = window.content;
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
for (var i = 0; i < hints.length; i++)
|
for (var i = 0; i < hints.length; i++)
|
||||||
{
|
{
|
||||||
// remove the span for the numeric display part
|
// remove the span for the numeric display part
|
||||||
@@ -244,6 +246,8 @@ outer:
|
|||||||
elem.style.backgroundColor = hints[i][3];
|
elem.style.backgroundColor = hints[i][3];
|
||||||
elem.style.color = hints[i][4];
|
elem.style.color = hints[i][4];
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
catch(e) { vimperator.log("Error hiding hints, probably wrong window"); }
|
||||||
};
|
};
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|||||||
Reference in New Issue
Block a user