From e498e03cebe1fcbfff90ae35fc7b43e734db3246 Mon Sep 17 00:00:00 2001 From: r888888888 Date: Wed, 23 Aug 2017 17:42:28 -0700 Subject: [PATCH] add message if ccs is not available --- app/assets/javascripts/related_tag.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/assets/javascripts/related_tag.js b/app/assets/javascripts/related_tag.js index 1d269ccfc..6bac95550 100644 --- a/app/assets/javascripts/related_tag.js +++ b/app/assets/javascripts/related_tag.js @@ -174,6 +174,8 @@ if (Danbooru.RelatedTag.recent_ccs.length) { Danbooru.RelatedTag.build_ccs($dest); } + }).fail(function() { + Danbooru.notice("Character classification service is not currently available"); }); }