diff --git a/app/controllers/announcements_controller.rb b/app/controllers/announcements_controller.rb index 02dd457..e4f5ac8 100644 --- a/app/controllers/announcements_controller.rb +++ b/app/controllers/announcements_controller.rb @@ -188,7 +188,7 @@ class AnnouncementsController < ApplicationController "outClass":"fade-out", "linkElement": "[data-list=\"announcements\"] > *", "children_text_block": ".w-annc__content-wrap", - "container_block": "[data-subpart-id=\"'+subpart.id.to_s+'\"] [data-list=\"announcements\"]", + "container_block": "[data-subpart-id=\"'+subpart.id.to_s+'\"] [data-list=\"announcements\"]:not(tbody)", "parent_block": "[data-subpart-id=\"'+subpart.id.to_s+'\"]", "filter_bar": ".nav_tabs_filter", "filter_option": "li.filter_tab", @@ -199,7 +199,7 @@ class AnnouncementsController < ApplicationController }; }else{ wpexAnimsition.parent_block = wpexAnimsition.parent_block + ", [data-subpart-id=\"'+subpart.id.to_s+'\"]"; - wpexAnimsition.container_block = wpexAnimsition.container_block + ", [data-subpart-id=\"'+subpart.id.to_s+'\"] [data-list=\"announcements\"]"; + wpexAnimsition.container_block = wpexAnimsition.container_block + ", [data-subpart-id=\"'+subpart.id.to_s+'\"] [data-list=\"announcements\"]:not(tbody)"; } var wpexLocalize = { "lightboxType": "iLightbox",