From b99454a4bc4779d3389fa0d66094f5aa59f3e448 Mon Sep 17 00:00:00 2001 From: mitsugu oyama Date: Sat, 24 Mar 2012 10:09:03 +0900 Subject: Add to delete contents's object --- addhatebu.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'addhatebu.js') diff --git a/addhatebu.js b/addhatebu.js index 7fff76e..93a6ef0 100644 --- a/addhatebu.js +++ b/addhatebu.js @@ -35,8 +35,10 @@ commands.addUserCommand( contents.location.reload(); }else{ liberator.echoerr('Invalid Parameter'); + delete contents; return false; } + delete contents; },{ completer : function(context, args){ context.completions=[ -- cgit v1.2.3