diff --git a/templates/partials/widgets/bg-photo-toggle.html b/templates/partials/widgets/bg-photo-toggle.html index 348876d..8a44e69 100644 --- a/templates/partials/widgets/bg-photo-toggle.html +++ b/templates/partials/widgets/bg-photo-toggle.html @@ -9,8 +9,6 @@ document.body.style.setProperty('--bg-photo-url', 'url("' + url + '")'); document.body.classList.add('bg-photo'); - {{if not .IsProduction}} - // Dev only: toggle support window.toggleBgPhoto = function() { var isOn = document.body.classList.contains('bg-photo'); if (isOn) { @@ -24,13 +22,10 @@ if (icon) icon.setAttribute('icon', isOn ? 'mdi:image-outline' : 'mdi:image'); } }; - {{end}} })(); -{{end}} -{{if not .IsProduction}} - +