publisher-uaproxy-banner: no TypeError when /status fails, the bar says uaproxyd is not running

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Glenn Goossens
2026-10-19 11:39:13 +02:00
co-authored by Claude Sonnet 5.5
parent 5d7acc0b29
commit b460ccc214
@@ -85,7 +85,7 @@
function render(s) {
var state = s && s.state;
if (state === 'up' || (s.on_ua && state === 'down')) { hide(); return; }
if (state === 'up' || (s && s.on_ua && state === 'down')) { hide(); return; }
if (!bar) build();
var base = 'UA proxy down: this page loaded without UA access, so a Zotero save gets no PDF.';
if (!s) {