<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Document</title>
</head>
<body>
<select class="form-select">
<option value="All">All</option>
</select>
<select class="form-select">
<option value="All">All</option>
<option value="25">25</option>
</select>
<script>
var selectElems = document.querySelectorAll(".form-select");
Array.prototype.forEach.call(selectElems, function(item) {
if(item.options.length == 1) item.style.display = "none";
});
</script>
</body>
</html>