Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Bug 828479 - fix online support in Settings

  • Loading branch information...
commit 8737d17cd1119bcd585b4c443ae2306d8fb76e34 1 parent b63e644
Fabien Cazenave authored January 09, 2013

Showing 1 changed file with 5 additions and 4 deletions. Show diff stats Hide diff stats

  1. 9  apps/settings/js/support.js
9  apps/settings/js/support.js
@@ -41,10 +41,11 @@ var Support = {
41 41
   loadSupportInfo: function support_loadSupportInfo() {
42 42
     var self = this;
43 43
     this.getSupportInfo(function displaySupportInfo(supportInfo) {
44  
-      document.getElementById('online-support-link')
45  
-        .setAttribute('href', supportInfo.onlinesupport.href);
46  
-      document.getElementById('online-support-text')
47  
-        .textContent = supportInfo.onlinesupport.title;
  44
+      var link = document.getElementById('online-support-link');
  45
+      var text = document.getElementById('online-support-text');
  46
+      link.href = supportInfo.onlinesupport.href;
  47
+      link.target = 'blank';
  48
+      text.textContent = supportInfo.onlinesupport.title;
48 49
 
49 50
       var callSupportInfo = supportInfo.callsupport;
50 51
       var numbers = document.getElementById('call-support-numbers');

0 notes on commit 8737d17

Please sign in to comment.
Something went wrong with that request. Please try again.