fix error

This commit is contained in:
邱博亞 2023-02-27 22:07:36 +08:00
parent 7464fb4979
commit a7585dd4e0
1 changed files with 1 additions and 1 deletions

View File

@ -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