From 0d8c18a38af16443cfe8475272af86144d17e13a Mon Sep 17 00:00:00 2001 From: Official Noob <31563761+OfficialNoob@users.noreply.github.com> Date: Tue, 30 Jul 2019 19:44:45 +0100 Subject: [PATCH] Update popup.js --- popup.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/popup.js b/popup.js index 1e3fcaca..824ffbde 100644 --- a/popup.js +++ b/popup.js @@ -593,13 +593,11 @@ EN_US.set(400, 'Server said this request was invalid"') .set(429, 'You have submitted too many sponsor times for this one video, are you sure there are this many?') .set(409, 'This has already been submitted before') .set(502, 'It seems the server is down. Contact the dev to inform them.') - .set('Unknown', 'here was an error submitting your sponsor times, please try again later.'); + .set('Unknown', 'there was an error submitting your sponsor times, please try again later.'); function ErrorParser (Lang, statusCode) { if(Lang.has(statusCode)) return Lang.get(statusCode); - Unknown = Lang.get('Unknown'); - Unknown += Error code " + statusCode; - return Lang.get('Unknown'); + return Lang.get('Unknown').concat(" Error code: ") + statusCode; } function submitTimes() {