1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-21 00:37:58 +01:00

allow hints to function on pages where authorStyleDisabled has been set via means other than 'usermode'

This commit is contained in:
Doug Kearns
2008-12-16 18:34:29 +11:00
parent 70c82c0f19
commit 3506a6212d
2 changed files with 11 additions and 3 deletions

View File

@@ -250,7 +250,11 @@ function Hints() //{{{
}
}
if (options.usermode)
// TODO: is it better to set up an observer for this property and set
// 'usermode' appropriately? We're generally not very well integrated
// into FF so having menu items toggle Vimperator options may be
// confusing. --djk
if (window.getMarkupDocumentViewer().authorStyleDisabled)
{
let css = [];
// FIXME: Broken for imgspans.