diff --git a/static/script.js b/static/script.js index 337a089..6bbc880 100644 --- a/static/script.js +++ b/static/script.js @@ -156,8 +156,10 @@ function save(partID) { }); - end_edit(); + $('#edit-button').click(function() { + init_edit(partID); + }); } function text_filter(string) {