This commit is contained in:
BoHung Chiu 2021-04-11 00:37:03 +08:00
parent 92cd6b809e
commit 8190d52131
1 changed files with 1 additions and 1 deletions

View File

@ -615,7 +615,7 @@ class AnnouncementsController < ApplicationController
"pause_btn_title" => pause_btn_title,
"prev_btn_title" => prev_btn_title,
"next_btn_title" => next_btn_title,
"carousel_display_style" => (bulletin_carousel_images.count == 0 ? 'display: none' : ''),
"carousel_display_style" => (bulletin_carousel_images.count == 0 ? 'display: none' : 'width: 50%;margin: auto;'),
"carousel_count" => bulletin_carousel_images.count
},
"comments" => announcement.comments,