Skip to content

Commit

Permalink
Merge pull request mozilla-b2g#7447 from fabi1cazenave/settings-onlin…
Browse files Browse the repository at this point in the history
…e-support

Bug 828479 - fix online support in Settings
  • Loading branch information
vingtetun committed Jan 9, 2013
2 parents b63e644 + 8737d17 commit 7201348
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions apps/settings/js/support.js
Expand Up @@ -41,10 +41,11 @@ var Support = {
loadSupportInfo: function support_loadSupportInfo() {
var self = this;
this.getSupportInfo(function displaySupportInfo(supportInfo) {
document.getElementById('online-support-link')
.setAttribute('href', supportInfo.onlinesupport.href);
document.getElementById('online-support-text')
.textContent = supportInfo.onlinesupport.title;
var link = document.getElementById('online-support-link');
var text = document.getElementById('online-support-text');
link.href = supportInfo.onlinesupport.href;
link.target = 'blank';
text.textContent = supportInfo.onlinesupport.title;

var callSupportInfo = supportInfo.callsupport;
var numbers = document.getElementById('call-support-numbers');
Expand Down

0 comments on commit 7201348

Please sign in to comment.