| 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}); |
|
Wladimir Palant
2014/06/23 11:12:41
I wonder whether not having these properties enume
|
| return result; |
| }, |
| /** |
| * Called when a key is pressed on the subscription list. |
| */ |
| keyPress: function(/**Event*/ event) |
| { |