From c9f4ae9dfc8d96fe398de311178eb3242de013e1 Mon Sep 17 00:00:00 2001 From: not-an-aardvark Date: Tue, 24 Nov 2015 20:53:35 -0500 Subject: [PATCH] Fix #437 --- assets/js/sharedClientFunctions.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/js/sharedClientFunctions.js b/assets/js/sharedClientFunctions.js index 6e1c31c7..08d155da 100644 --- a/assets/js/sharedClientFunctions.js +++ b/assets/js/sharedClientFunctions.js @@ -38,7 +38,7 @@ module.exports = { return "Please choose a type."; } if (ref.type === "egg" || ref.type === "giveaway" || ref.type === "misc" || ref.type === "eggcheck" || ref.type === "involvement") { - if (!ref.descrip || ref.description) { + if (!ref.descrip && !ref.description) { return "Make sure you enter all the information"; } } else if (!ref.got || !ref.gave) { diff --git a/package.json b/package.json index 74d2df02..f3e39291 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "FlairHQ", - "version": "2.2.1", + "version": "2.2.2", "description": "A project to allow easy adding of flair applications for subreddits (focusing initially on /r/pokemontrades) and easy moderation for moderators.", "scripts": { "start": "node ./node_modules/sails/bin/sails.js lift"