Index: chrome/content/ui/sendReport.js |
=================================================================== |
--- a/chrome/content/ui/sendReport.js |
+++ b/chrome/content/ui/sendReport.js |
@@ -376,30 +376,36 @@ var screenshotDataSource = |
image.addEventListener("load", () => { |
canvas.width = image.width + this.imageOffset * 2; |
canvas.height = image.height + this.imageOffset * 2; |
context.drawImage(image, this.imageOffset, this.imageOffset); |
}); |
} |
}, |
- get enabled() this._enabled, |
+ get enabled() |
+ { |
+ return this._enabled; |
+ }, |
set enabled(enabled) |
{ |
if (this._enabled == enabled) |
return; |
this._enabled = enabled; |
this._canvas.style.opacity = this._enabled ? "" : "0.3" |
E("screenshotMarkButton").disabled = !this._enabled; |
E("screenshotRemoveButton").disabled = !this._enabled; |
E("screenshotUndoButton").disabled = !this._enabled || !this._undoQueue.length; |
}, |
- get selectionType() this._selectionType, |
+ get selectionType() |
+ { |
+ return this._selectionType; |
+ }, |
set selectionType(type) |
{ |
if (this._selectionType == type) |
return; |
// Abort selection already in progress |
this.abortSelection(); |