From d5cf5d34f940236b90f5ff9959d913f6f2e3deb9 Mon Sep 17 00:00:00 2001 From: assar Date: Sat, 10 Jun 2017 02:03:16 +0200 Subject: [PATCH] Fixed delete button --- static/script.js | 2 +- static/style.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/static/script.js b/static/script.js index 285e25c..5e14db5 100644 --- a/static/script.js +++ b/static/script.js @@ -207,7 +207,7 @@ function show_part_info(partID) { $('#edit-button').click(function() { init_edit(partID); }); - $('#edit-button').click(function() { + $('#delete-button').click(function() { delete_entry(partID); }); overlay_in(); diff --git a/static/style.css b/static/style.css index 797fed6..948ad74 100644 --- a/static/style.css +++ b/static/style.css @@ -276,7 +276,7 @@ div label input { .round-button-left { position: absolute; bottom: 15pt; - right: : 70pt; + right: 70pt; width: 40pt; height: 32pt; border-radius: 20pt;