Commit 2ce4377a authored by Raine Makelainen's avatar Raine Makelainen

Merge branch 'fixDefaultUa' into 'master'

[embedlite-components] Return desktop ua if custom ua is not set. Contributes to JB#35001



See merge request !10
parents 61f7dc88 f61e4513
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment