diff --git a/app/controllers/announcements_controller.rb b/app/controllers/announcements_controller.rb index ec05778..02a2488 100644 --- a/app/controllers/announcements_controller.rb +++ b/app/controllers/announcements_controller.rb @@ -337,6 +337,10 @@ class AnnouncementsController < ApplicationController div_clearfix = read_more_block; } first_element.before(div_clearfix); + var annc_title = $(\"[data-subpart-id=\\\"#{subpart.id}\\\"] .w-annc__widget-title\").eq(0); + if(annc_title.length != 0){ + read_more_block.appendTo(\"[data-subpart-id=\\\"#{subpart.id}\\\"] .w-annc__widget-title:eq(0)\"); + } }else{ var div_clearfix = $('
'); read_more_block.appendTo(div_clearfix);