summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorGaming4JC <g4jc@bulletmail.org>2018-06-18 19:20:00 -0400
committerGaming4JC <g4jc@bulletmail.org>2018-06-18 19:20:00 -0400
commitd61baafeeb2708b9faf197aa50b6899693f9c333 (patch)
treeacb38c3d68ec13d06777a85690678af3c497ff90 /components
parent373418e55910b709ad978e3f4d4d6c0caacd318b (diff)
downloadiceweasel-uxp-d61baafeeb2708b9faf197aa50b6899693f9c333.tar.gz
Remove leftover sync promos
Diffstat (limited to 'components')
-rw-r--r--components/syncedtabs/SyncedTabsDeckView.js16
1 files changed, 0 insertions, 16 deletions
diff --git a/components/syncedtabs/SyncedTabsDeckView.js b/components/syncedtabs/SyncedTabsDeckView.js
index e9efff3..9c91629 100644
--- a/components/syncedtabs/SyncedTabsDeckView.js
+++ b/components/syncedtabs/SyncedTabsDeckView.js
@@ -54,8 +54,6 @@ SyncedTabsDeckView.prototype = {
deck.appendChild(tabListWrapper);
this.container.appendChild(deck);
- this._generateDevicePromo();
-
this._attachListeners();
this.update(state);
},
@@ -64,20 +62,6 @@ SyncedTabsDeckView.prototype = {
return getChromeWindow(this._window).document.getElementById("bundle_browser");
},
- _generateDevicePromo() {
- let bundle = this._getBrowserBundle();
- let formatArgs = ["android", "ios"].map(os => {
- let link = this._doc.createElement("a");
- link.textContent = bundle.getString(`appMenuRemoteTabs.mobilePromo.${os}`);
- link.className = `${os}-link text-link`;
- link.setAttribute("href", "#");
- return link.outerHTML;
- });
- // Put it all together...
- let contents = bundle.getFormattedString("appMenuRemoteTabs.mobilePromo.text2", formatArgs);
- this.container.querySelector(".device-promo").innerHTML = contents;
- },
-
destroy() {
this._tabListComponent.uninit();
this.container.remove();