fix error
This commit is contained in:
parent
7464fb4979
commit
a7585dd4e0
|
@ -150,7 +150,7 @@ class SiteMenuWidgetsController < ApplicationController
|
||||||
create_menu_bool_object(items)
|
create_menu_bool_object(items)
|
||||||
temp = @ul_index.reverse.collect do |ul_index|
|
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]})
|
"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()
|
$('div[data-subpart-id=#{subpart.id}]').find('li').eq(#{ul_index[1]}).find('span').eq(0).remove()
|
||||||
"
|
"
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue