Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix shareId problem when activating TowTruck normally

  • Loading branch information...
commit 37e0e6a75f1eea93c4edd79c1770e98df7752667 1 parent ae3464b
@ianb ianb authored
Showing with 4 additions and 2 deletions.
  1. +1 −1  addon/data/attachment.js
  2. +3 −1 addon/lib/main.js
View
2  addon/data/attachment.js
@@ -5,7 +5,7 @@
self.port.on("Config", function (config) {
var doc = unsafeWindow.document;
unsafeWindow._TowTruckBookmarklet = true;
- unsafeWindow.TowTruck = {hubBase: config.hubBase || null};
+ unsafeWindow.TowTruckConfig_hubBase = config.hubBase;
if (config.shareId) {
unsafeWindow._TowTruckShareId = config.shareId;
}
View
4 addon/lib/main.js
@@ -14,7 +14,9 @@ var button = widgets.Widget({
label: "Start TowTruck",
contentURL: data.url("button.html"),
contentScriptFile: data.url("button.js"),
- onClick: startTowTruck,
+ onClick: function () {
+ startTowTruck();
+ },
width: 48
});
Please sign in to comment.
Something went wrong with that request. Please try again.