diff --git a/editor/svg-editor.js b/editor/svg-editor.js index 35d43930..8f26b9c7 100644 --- a/editor/svg-editor.js +++ b/editor/svg-editor.js @@ -902,7 +902,7 @@ $(this).mouseup(func); if(opts.key) { - $(document).bind('keydown', opts.key+'', func); + $(document).bind('keydown', opts.key[0], func); } });