diff --git a/javascripts/discourse/api-initializers/discourse-rapidoc-theme-component.js b/javascripts/discourse/api-initializers/discourse-rapidoc-theme-component.js index 67e2475..12f0340 100644 --- a/javascripts/discourse/api-initializers/discourse-rapidoc-theme-component.js +++ b/javascripts/discourse/api-initializers/discourse-rapidoc-theme-component.js @@ -45,10 +45,9 @@ async function applyRapidoc(element) { allow-api-list-style-selection="false" allow-spec-file-download="true" allow-authentication="true" - show-method-in-nav-bar="true" + show-method-in-nav-bar="as-colored-text" theme="${theme === "dark" ? "dark" : "light"}" nav-bg-color="${theme === "dark" ? "#323334" : "#ebeced"}" - show-method-in-nav-bar="as-colored-text" >