diff --git a/jquery.numpad.js b/jquery.numpad.js index d13ab3e..a35f32a 100644 --- a/jquery.numpad.js +++ b/jquery.numpad.js @@ -31,7 +31,7 @@ nmpd.open(nmpd.options.target ? nmpd.options.target : this.first()); break; case 'close': - nmpd.open(nmpd.options.target ? nmpd.options.target : this.first()); + nmpd.close(nmpd.options.target ? nmpd.options.target : this.first()); break; } return this; @@ -300,4 +300,4 @@ onKeypadClose: false, onChange: false }; -})(jQuery); \ No newline at end of file +})(jQuery);