Index: sites/all/modules/contrib/jquery_dropdown/js/jquery_dropdown.js
===================================================================
--- sites/all/modules/contrib/jquery_dropdown/js/jquery_dropdown.js	(revision 69)
+++ sites/all/modules/contrib/jquery_dropdown/js/jquery_dropdown.js	(working copy)
@@ -61,12 +61,15 @@ $.fn.load_jquery_dropdown = function(opt
   
   //this is the click event for when you click the fake select, it shows the options below
   $("div.jquery_dropdown_header_"+select_name_nice).click(function(){
-    
-    if ($(this).parent("div.jquery_dropdown_container").find("ul.jquery_dropdown_list").css('display') == 'block') {
-      $(this).parent("div.jquery_dropdown_container").find("ul.jquery_dropdown_list").attr('style', 'display:hidden');
+    $container = $(this).parent("div.jquery_dropdown_container"); 
+    $dropdown = $container.find("ul.jquery_dropdown_list");
+    if ($dropdown.css('display') == 'block') {
+      $dropdown.attr('style', 'display:hidden');
+      $container.removeClass('jquery_dropdown_expanded');
     }
     else {
-      $(this).parent("div.jquery_dropdown_container").find("ul.jquery_dropdown_list").attr('style', 'display:block');
+      $dropdown.attr('style', 'display:block');
+      $container.addClass('jquery_dropdown_expanded');
     }
   });
   
@@ -91,4 +94,4 @@ $.fn.load_jquery_dropdown = function(opt
 
   //set initial header value
   $("div.jquery_dropdown_header_"+select_name_nice).text(select_default_text);
-};
\ No newline at end of file
+};
