From dd7e794716fc1008b83747127a7a2c0e872ea2d6 Mon Sep 17 00:00:00 2001 From: Florian CHAZAL Date: Mon, 27 Jan 2025 17:38:15 +0100 Subject: [PATCH] fix(openapi): Expand/Collapse tags and operations --- static/js/theme.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/theme.js b/static/js/theme.js index 130d0c6af6..b93432a529 100644 --- a/static/js/theme.js +++ b/static/js/theme.js @@ -434,7 +434,7 @@ function initOpenapi(update, attrs) { const oi = document.createElement('iframe'); oi.id = openapiIframeId; oi.classList.toggle('sc-openapi-iframe', true); - oi.srcdoc = '' + '' + '' + '' + '' + '' + '' + '' + '' + 'Collapse all' + 'Expand all' + '
' + '' + '' + ''; + oi.srcdoc = '' + '' + '' + '' + '' + '' + '' + '' + '' + 'Collapse all' + 'Expand all' + '
' + '' + '' + ''; oi.height = '100%'; oi.width = '100%'; oi.onload = function () {