fix: privacy badge reads PRIVACY ON / PRIVACY OFF (not bare PRIVACY)

This commit is contained in:
gramps
2026-07-14 13:36:56 -07:00
parent 8e800b57d1
commit fbd734ccd4
+1 -1
View File
@@ -916,7 +916,7 @@ function togglePrivate() {
privateEnabled = !privateEnabled;
const badge = document.getElementById('privateBadge');
badge.className = 'badge ' + (privateEnabled ? 'on' : 'off');
badge.textContent = privateEnabled ? 'PRIVACY' : 'PRIVACY OFF';
badge.textContent = privateEnabled ? 'PRIVACY ON' : 'PRIVACY OFF';
const searchBtn = document.getElementById('searchBtn');
if (privateEnabled) {
if (searchBtn) searchBtn.disabled = true;