diff --git a/app/controllers/site_menu_widgets_controller.rb b/app/controllers/site_menu_widgets_controller.rb index e66ecfb..dcc2b96 100644 --- a/app/controllers/site_menu_widgets_controller.rb +++ b/app/controllers/site_menu_widgets_controller.rb @@ -150,7 +150,7 @@ class SiteMenuWidgetsController < ApplicationController create_menu_bool_object(items) temp = @ul_index.reverse.collect do |ul_index| "var ul_tp = $('div[data-subpart-id=#{subpart.id}]').find('ul.dropdown-menu').eq(#{ul_index[0]}) - ul_tp.removeClass('dropdown-menu') + ul_tp.removeClass('dropdown-menu').addClass('show'); $('div[data-subpart-id=#{subpart.id}]').find('li').eq(#{ul_index[1]}).find('span').eq(0).remove() " end