diff --git a/apps/files_external/js/settings.js b/apps/files_external/js/settings.js
index 0fceb41c0a..00793a614c 100644
--- a/apps/files_external/js/settings.js
+++ b/apps/files_external/js/settings.js
@@ -189,11 +189,11 @@ $(document).ready(function() {
if (placeholder.indexOf('*') === 0) {
var class_string = is_optional ? ' class="optional"' : '';
td.append('');
- else if (placeholder.indexOf('!') === 0) {
+ } else if (placeholder.indexOf('!') === 0) {
td.append('');
- else if (placeholder.indexOf('#') === 0) {
+ } else if (placeholder.indexOf('#') === 0) {
td.append('');
- else {
+ } else {
var class_string = is_optional ? ' class="optional"' : '';
td.append('');
}