Bug 1162735 - Re-add code that got removed accidentally to fix context menus. r=florian a=dolske
authorJared Wein <jwein@mozilla.com>
Thu, 07 May 2015 17:53:46 -0400
changeset 260441 ccec3836123c
parent 260440 2eeb61f35995
child 260442 18bf7b4baaac
push id782
push userjdolske@mozilla.com
push date2015-05-09 00:18 +0000
treeherdermozilla-release@067c9c7a5e75 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersflorian, dolske
bugs1162735
milestone38.0
Bug 1162735 - Re-add code that got removed accidentally to fix context menus. r=florian a=dolske
browser/components/pocket/Pocket.jsm
--- a/browser/components/pocket/Pocket.jsm
+++ b/browser/components/pocket/Pocket.jsm
@@ -10,16 +10,19 @@ this.EXPORTED_SYMBOLS = ["Pocket"];
 Cu.import("resource://gre/modules/XPCOMUtils.jsm");
 
 XPCOMUtils.defineLazyModuleGetter(this, "CustomizableUI",
   "resource:///modules/CustomizableUI.jsm");
 XPCOMUtils.defineLazyModuleGetter(this, "ReaderMode",
   "resource://gre/modules/ReaderMode.jsm");
 
 let Pocket = {
+  get site() Services.prefs.getCharPref("browser.pocket.site"),
+  get listURL() { return "https://" + Pocket.site; },
+
   /**
    * Functions related to the Pocket panel UI.
    */
   onPanelViewShowing(event) {
     let window = event.target.ownerDocument.defaultView;
     window.pktUI.pocketButtonOnCommand(event);
     window.pktUI.pocketPanelDidShow(event)
   },