From ee3384d7b518a86f114753338c3375c59ca5f58d Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Tue, 28 Dec 2010 21:02:48 +0530 Subject: [PATCH] support non firefox gecko browsers --- build/js/ox.load.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build/js/ox.load.js b/build/js/ox.load.js index 3a2bad61..dc721feb 100644 --- a/build/js/ox.load.js +++ b/build/js/ox.load.js @@ -44,6 +44,8 @@ $(function() { userAgent = name; return false; } + if (!userAgent && navigator.userAgent.indexOf('Gecko') > -1) + userAgent = 'Firefox'; }); return userAgent; } @@ -151,4 +153,4 @@ $(function() { } } -}); \ No newline at end of file +});