From 5bd21769ed8ed88420e0fb877a52b5897825d0aa Mon Sep 17 00:00:00 2001 From: j 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 3a2bad6..dc721fe 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 +});