Skip to content

Commit

Permalink
Fix browser detection
Browse files Browse the repository at this point in the history
Mozilla != Firefox.  Gecko is the name of the underlying engine.
  • Loading branch information
slusarz committed Jul 8, 2014
1 parent 29724b0 commit 588bd8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/Core/js/smartmobile.js
Expand Up @@ -33,7 +33,7 @@ var HordeMobile = {
debug: function(label, e)
{
if (!HordeMobile.is_logout && window.console && window.console.error) {
window.console.error(label, navigator.userAgent.indexOf("Firefox") > -1 ? e : jQuery.makeArray(e));
window.console.error(label, navigator.userAgent.indexOf("Gecko") > -1 ? e : jQuery.makeArray(e));
}
},

Expand Down

0 comments on commit 588bd8b

Please sign in to comment.