From e78980ebd116be1ea901387c126876af902191e6 Mon Sep 17 00:00:00 2001 From: Rigel Kent Date: Sat, 8 Sep 2018 14:34:32 +0200 Subject: use focus-visible polyfill to improve keyboard navigation Only the homepage is concerned, but it should have decent keyboard navigation support now. --- server/helpers/custom-validators/videos.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server') diff --git a/server/helpers/custom-validators/videos.ts b/server/helpers/custom-validators/videos.ts index 4b1f6c069..edafba6e2 100644 --- a/server/helpers/custom-validators/videos.ts +++ b/server/helpers/custom-validators/videos.ts @@ -178,7 +178,7 @@ async function isVideoChannelOfAccountExist (channelId: number, user: UserModel, const videoChannel = await VideoChannelModel.loadAndPopulateAccount(channelId) if (videoChannel === null) { res.status(400) - .json({ error: 'Unknown video video channel on this instance.' }) + .json({ error: 'Unknown video `video channel` on this instance.' }) .end() return false @@ -191,7 +191,7 @@ async function isVideoChannelOfAccountExist (channelId: number, user: UserModel, const videoChannel = await VideoChannelModel.loadByIdAndAccount(channelId, user.Account.id) if (videoChannel === null) { res.status(400) - .json({ error: 'Unknown video video channel for this account.' }) + .json({ error: 'Unknown video `video channel` for this account.' }) .end() return false -- cgit v1.2.3