Permalink
Browse files

Merge pull request #7447 from fabi1cazenave/settings-online-support

Bug 828479 - fix online support in Settings
  • Loading branch information...
vingtetun committed Jan 9, 2013
2 parents b63e644 + 8737d17 commit 7201348fcb8e0ea625d9a378d939a282e4f16e0a
Showing with 5 additions and 4 deletions.
  1. +5 −4 apps/settings/js/support.js
@@ -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');

0 comments on commit 7201348

Please sign in to comment.