Permalink
Browse files

Bug 828479 - fix online support in Settings

  • Loading branch information...
1 parent b63e644 commit 8737d17cd1119bcd585b4c443ae2306d8fb76e34 @fabi1cazenave fabi1cazenave committed Jan 9, 2013
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 8737d17

Please sign in to comment.