mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 02:28:00 +01:00
access MarkupDocumentViewer via getBrowser() - only FF defines getMarkupDocumentViewer
This commit is contained in:
@@ -254,7 +254,7 @@ function Hints() //{{{
|
||||
// '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)
|
||||
if (getBrowser().markupDocumentViewer.authorStyleDisabled)
|
||||
{
|
||||
let css = [];
|
||||
// FIXME: Broken for imgspans.
|
||||
|
||||
Reference in New Issue
Block a user