diff options
Diffstat (limited to 'chrome/code')
-rw-r--r-- | chrome/code/redirector.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/code/redirector.js b/chrome/code/redirector.js index 8a5cbed..9c7d769 100644 --- a/chrome/code/redirector.js +++ b/chrome/code/redirector.js @@ -40,8 +40,8 @@ Redirector = { } }, - deleteRedirectAt : function(index) { - this._list.splice(index, 1); + deleteRedirect : function(redirect) { + this._list.splice(this._list.indexOf(redirect), 1); this.save(); }, |