Bug 1234199 - fix mobile promo links in synced tabs menu. r=adw

This commit is contained in:
Mark Hammond 2015-12-23 08:57:46 +11:00
parent 8ab48d3b86
commit 2fc3a1793d

View File

@ -317,7 +317,7 @@ const CustomizableWidgets = [
let formatArgs = ["android", "ios"].map(os => {
let link = doc.createElement("label");
link.textContent = bundle.getString(`appMenuRemoteTabs.mobilePromo.${os}`)
link.href = Services.prefs.getCharPref(`identity.mobilepromo.${os}`) + "synced-tabs";
link.setAttribute("href", Services.prefs.getCharPref(`identity.mobilepromo.${os}`) + "synced-tabs");
link.className = "text-link remotetabs-promo-link";
return link.outerHTML;
});