From: Iain Patterson Date: Mon, 22 Oct 2012 21:52:19 +0000 (+0100) Subject: Fix test for Mac. X-Git-Url: http://git.iain.cx/?a=commitdiff_plain;h=46adea27ee41b3de4b29c2c2493a13c5af6541bb;p=profile.git Fix test for Mac. .pentdactylrc no longer recognises navigator.userAgent but content.navigator.userAgent works. --- 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