diff --git a/l4d2web/l4d2web/static/js/tabs.js b/l4d2web/l4d2web/static/js/tabs.js index 00df844..9171027 100644 --- a/l4d2web/l4d2web/static/js/tabs.js +++ b/l4d2web/l4d2web/static/js/tabs.js @@ -54,8 +54,12 @@ const name = strip.dataset.activeTab; if (!name) return; const dlg = document.getElementById(`${name}-modal`); - if (dlg && typeof dlg.showModal === "function" && !dlg.open) { - dlg.showModal(); + if (dlg && !dlg.open) { + if (window.modals && typeof window.modals.openInline === "function") { + window.modals.openInline(dlg); + } else if (typeof dlg.showModal === "function") { + dlg.showModal(); + } } }); } diff --git a/l4d2web/l4d2web/templates/server_detail.html b/l4d2web/l4d2web/templates/server_detail.html index a8e95c9..2232f94 100644 --- a/l4d2web/l4d2web/templates/server_detail.html +++ b/l4d2web/l4d2web/templates/server_detail.html @@ -211,4 +211,25 @@ + + {% endblock %}