From d12ae9277c3f7ca85ea290a297a1ff23258895d5 Mon Sep 17 00:00:00 2001 From: gorhill Date: Sat, 9 Jul 2016 20:00:18 -0400 Subject: [PATCH] fix silly bug from last commit (breaking Pale Moon) --- src/js/contentscript.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/contentscript.js b/src/js/contentscript.js index b960dbb83..23feb4b17 100644 --- a/src/js/contentscript.js +++ b/src/js/contentscript.js @@ -100,7 +100,7 @@ var SSet = (function() { this._i += 1; return this; }; - Object.defineProperty(self.Set.prototype, 'size', { + Object.defineProperty(Set.prototype, 'size', { get: function() { return this._set.length; } }); return Set;