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(); } });