Index: chrome/content/ui/filters-subscriptionactions.js |
=================================================================== |
--- a/chrome/content/ui/filters-subscriptionactions.js |
+++ b/chrome/content/ui/filters-subscriptionactions.js |
@@ -231,17 +231,17 @@ var SubscriptionActions = |
let result = this._ctrlMask; |
try { |
let accelKey = Utils.prefService.getIntPref("ui.key.accelKey"); |
if (accelKey == Ci.nsIDOMKeyEvent.DOM_VK_META) |
result = this._metaMask; |
else if (accelKey == Ci.nsIDOMKeyEvent.DOM_VK_ALT) |
result = this._altMask; |
} catch(e) {} |
- this.__defineGetter__("_accelMask", function() result); |
+ Object.defineProperty(this, "_accelMask", {value: result}); |
return result; |
}, |
/** |
* Called when a key is pressed on the subscription list. |
*/ |
keyPress: function(/**Event*/ event) |
{ |