Skip to content

Commit

Permalink
jQuery.browser hasn't been available since jQuery 1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Jul 4, 2014
1 parent c5738bb commit c0b9ee6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion framework/Core/js/smartmobile.js
Expand Up @@ -32,8 +32,9 @@ var HordeMobile = {
*/
debug: function(label, e)
{
console.log(navigator.userAgent);
if (!HordeMobile.is_logout && window.console && window.console.error) {
window.console.error(label, jQuery.browser.mozilla ? e : jQuery.makeArray(e));
window.console.error(label, navigator.userAgent.indexOf("Firefox") > -1 ? e : jQuery.makeArray(e));
}
},

Expand Down

0 comments on commit c0b9ee6

Please sign in to comment.