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:
co-authored by
Claude Sonnet 5.5
parent
5d7acc0b29
commit
b460ccc214
@@ -85,7 +85,7 @@
|
|||||||
|
|
||||||
function render(s) {
|
function render(s) {
|
||||||
var state = s && s.state;
|
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();
|
if (!bar) build();
|
||||||
var base = 'UA proxy down: this page loaded without UA access, so a Zotero save gets no PDF.';
|
var base = 'UA proxy down: this page loaded without UA access, so a Zotero save gets no PDF.';
|
||||||
if (!s) {
|
if (!s) {
|
||||||
|
|||||||
Reference in New Issue
Block a user