diff options
| -rw-r--r-- | static/js/pichat.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/static/js/pichat.js b/static/js/pichat.js index 3954e20..6279e48 100644 --- a/static/js/pichat.js +++ b/static/js/pichat.js @@ -374,6 +374,9 @@ function refresh() { setTimeout(refresh, 1000); }; var onError = function(resp, textStatus, errorThrown) { + var msg = $.trim(resp.responseText); + if (msg == "UNKNOWN_ROOM") + location.href = "http://dump.fm"; if (IsAdmin && window.console) { console.error(resp, textStatus, errorThrown); } |
