diff --git a/javascripts/discourse/api-initializers/api-setup.js b/javascripts/discourse/api-initializers/api-setup.js index 8735ceb..e46fe12 100644 --- a/javascripts/discourse/api-initializers/api-setup.js +++ b/javascripts/discourse/api-initializers/api-setup.js @@ -49,7 +49,7 @@ async function applyQrcode(element, key = "composer") { } export default apiInitializer("0.11.1", (api) => { - api.addToolbarPopupMenuOption(() => { + api.addComposerToolbarPopupMenuOption(() => { return { action: "insertqrcodesample", icon: "qrcode",