1
0
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:
Doug Kearns
2008-12-18 21:05:42 +11:00
parent c11e153766
commit 0841a01e15
2 changed files with 3 additions and 19 deletions

View File

@@ -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.