From 48634e73ac94fad82a695a10b15c6d2e99e8bb38 Mon Sep 17 00:00:00 2001 From: Jamie Thompson Date: Thu, 30 Jun 2022 15:50:42 +0200 Subject: [PATCH] show lang drop down when english is only option --- resources/js/functions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/js/functions.js b/resources/js/functions.js index 7bd39db251..6db5e41297 100644 --- a/resources/js/functions.js +++ b/resources/js/functions.js @@ -147,7 +147,7 @@ $(document).ready(function() { old.empty(); // if there are no translations, hide language dropdown box - if (items.length <= 1) { + if (items.length === 0) { $("#dd").hide(); } });