From 46adea27ee41b3de4b29c2c2493a13c5af6541bb Mon Sep 17 00:00:00 2001 From: Iain Patterson Date: Mon, 22 Oct 2012 22:52:19 +0100 Subject: [PATCH] Fix test for Mac. .pentdactylrc no longer recognises navigator.userAgent but content.navigator.userAgent works. --- .pentadactylrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pentadactylrc b/.pentadactylrc index c96f480..78cf13d 100644 --- a/.pentadactylrc +++ b/.pentadactylrc @@ -5,7 +5,7 @@ loadplugins '\.(js|penta)$' " Show scrollbars, address bar and tab numbers. set guioptions=CMbcmnrs " On Mac there is no menu bar. The icons are in the toolbar. -:if (/Mac OS X/.test(navigator.userAgent)) +:if (/Mac OS X/.test(content.navigator.userAgent)) set guioptions+=T :endif -- 2.7.4