Mercurial > hg > batmud > maputils
changeset 1799:895606ee727a
Remove error handlers from front-end WebSocket stuff, we do not really need these, at least for now.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sun, 29 Oct 2017 21:15:12 +0200 |
parents | 76dce42776f8 |
children | 7c7f24e27a60 |
files | www/search.js |
diffstat | 1 files changed, 0 insertions(+), 13 deletions(-) [+] |
line wrap: on
line diff
--- a/www/search.js Sun Oct 29 21:12:06 2017 +0200 +++ b/www/search.js Sun Oct 29 21:15:12 2017 +0200 @@ -162,13 +162,6 @@ mapWS = null; btnSearch.disabled = false; }; - - mapWS.onerror = function() - { - mapLog("Error!"); - mapWS = null; - btnSearch.disabled = false; - }; } @@ -233,12 +226,6 @@ mapLog("WebSocket connection closed."); tmpWS = null; }; - - tmpWS.onerror = function() - { - mapLog("Error!"); - tmpWS = null; - }; }