From 0ad59c40bd2b8f8f600374319ad916f79553984a Mon Sep 17 00:00:00 2001 From: Masahiko AMANO Date: Sun, 12 Feb 2023 16:19:27 +0300 Subject: [PATCH] refactor(web): change database reload button id --- web/public/js/tfm-database.js | 2 +- web/public/tfm/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web/public/js/tfm-database.js b/web/public/js/tfm-database.js index 38d5c1c..e9d6091 100644 --- a/web/public/js/tfm-database.js +++ b/web/public/js/tfm-database.js @@ -13,7 +13,7 @@ $(document).on("click", "#btn-save", function (e) { } }); -$(document).on("click", "#btn-discard", function (e) { +$(document).on("click", "#btn-reload", function (e) { e.preventDefault(); if (!confirm("All unsaved changes will be lost permanently. Are you sure?")) { return; diff --git a/web/public/tfm/index.html b/web/public/tfm/index.html index 4ee7848..f1b5d44 100644 --- a/web/public/tfm/index.html +++ b/web/public/tfm/index.html @@ -37,7 +37,7 @@
- +
Settings