From f8960ecb31d5afd1e92a201f96417aceebcce699 Mon Sep 17 00:00:00 2001 From: Hugh Secker-Walker Date: Mon, 30 Jan 2023 15:53:45 -0500 Subject: [PATCH] Add comment management/templates/system-backup.html --- management/templates/system-backup.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/management/templates/system-backup.html b/management/templates/system-backup.html index 2d221993..422b2a0e 100644 --- a/management/templates/system-backup.html +++ b/management/templates/system-backup.html @@ -377,7 +377,8 @@ const url_split = url => { } }; -// hide Copy button if not in a modern clipboard-supporting environment +// Hide Copy button if not in a modern clipboard-supporting environment. +// Using document API because jQuery is not necessarily available in this script scope. if (!(navigator && navigator.clipboard && navigator.clipboard.writeText)) { document.getElementById('copy_pub_key_div').hidden = true; }