diff options
Diffstat (limited to 'godoc/static/playground.js')
-rw-r--r-- | godoc/static/playground.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/godoc/static/playground.js b/godoc/static/playground.js index c944067..93dea15 100644 --- a/godoc/static/playground.js +++ b/godoc/static/playground.js @@ -49,7 +49,7 @@ function HTTPTransport() { var timeout; output({Kind: 'start'}); function next() { - if (events.length === 0) { + if (!events || events.length === 0) { output({Kind: 'end'}); return; } |