From 00b9b9d4a370d80a4fe36779221306807f9b2b03 Mon Sep 17 00:00:00 2001 From: jlukic Date: Wed, 14 Jan 2015 16:30:03 -0500 Subject: [PATCH] Clean up spacing #1627 --- src/definitions/modules/dropdown.js | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/definitions/modules/dropdown.js b/src/definitions/modules/dropdown.js index 5cf7fed94..f9ea601d5 100644 --- a/src/definitions/modules/dropdown.js +++ b/src/definitions/modules/dropdown.js @@ -908,14 +908,13 @@ $.fn.dropdown = function(parameters) { ; if(defaultValue !== undefined) { module.debug('Restoring default value', defaultValue); - - if (defaultValue.length) { - module.set.selected(defaultValue); - module.set.value(defaultValue); + if(defaultValue.length) { + module.set.selected(defaultValue); + module.set.value(defaultValue); } else { - module.remove.activeItem(); - module.remove.selectedItem(); + module.remove.activeItem(); + module.remove.selectedItem(); } } }