Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[embedlite-components] Return desktop ua if custom ua is not set. Con…
…tributes to JB#35001
  • Loading branch information
rainemak committed May 9, 2016
1 parent 7e6a20b commit e1809cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jscomps/UserAgentOverrideHelper.js
Expand Up @@ -102,7 +102,7 @@ var UserAgent = {
if (this._desktopMode)
return this.DESKTOP_UA;

return this._customUA ? this._customUA : defaultUA;
return this._customUA ? this._customUA : this.DESKTOP_UA;
},

getUserAgentForUriAndTab: function ua_getUserAgentForUriAndTab(aUri) {
Expand Down

0 comments on commit e1809cc

Please sign in to comment.