diff --git a/app/templates/v2/screens/antrag_detail.html b/app/templates/v2/screens/antrag_detail.html index c136ef9..9d60384 100644 --- a/app/templates/v2/screens/antrag_detail.html +++ b/app/templates/v2/screens/antrag_detail.html @@ -934,11 +934,13 @@ window.v2ShowMatrixFieldInfo = function(field) { window.location.href = 'mailto:?subject=' + encodeURIComponent(subject) + '&body=' + encodeURIComponent(body); }; - /* Scorecard-Preview im OG-Format (1200×630) — nutzt /v2/scorecard. */ + /* Scorecard-Preview — Default ist portrait (1080×1350, Instagram 4:5). + Format-Param bewusst NICHT gesetzt, damit sich der Server-Default + durchsetzt — sonst muss man hier mitziehen wenn der Default sich + wieder aendert. */ window.v2DetailShareScorecard = function() { var url = '/v2/scorecard?drucksache=' + encodeURIComponent(DRS) - + '&bundesland=' + encodeURIComponent(BL || 'NRW') - + '&format=og'; + + '&bundesland=' + encodeURIComponent(BL || 'NRW'); window.open(url, '_blank', 'noopener'); };