From 24280e82fa0e558f2baa74e87a958ff25f044378 Mon Sep 17 00:00:00 2001 From: Connor Turland Date: Wed, 25 Jun 2014 10:24:24 -0400 Subject: [PATCH] removed alert('failure') using alerts (especially with no information beyond just 'it failed') is terrible user experience --- app/assets/javascripts/application.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/application.js b/app/assets/javascripts/application.js index f07ea1d8..05f0f857 100644 --- a/app/assets/javascripts/application.js +++ b/app/assets/javascripts/application.js @@ -128,7 +128,7 @@ function fetchRelatives(node) { } }, error: function () { - alert('failure'); + console.log('failed to recenter'); } }); } @@ -392,4 +392,4 @@ function cancelMapCreate(id) { form.find('.mapCommonsIcon').addClass('selected'); return false; -} \ No newline at end of file +}