# Toggle menu in Composer

**URL:** https://meta.discourse.org/t/toggle-menu-in-composer/87172
**Category:** Bug
**Created:** [May 10, 2018, 3:43pm UTC](https://meta.discourse.org/t/toggle-menu-in-composer/87172 "2018-05-10T15:43:09Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![jerry0](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jerry0/32/94523_2.png) [@jerry0](https://meta.discourse.org/u/jerry0)
#### Post date: [May 11, 2018, 9:36am UTC](https://meta.discourse.org/t/toggle-menu-in-composer/87172/3 "2018-05-11T09:36:19Z")

</div>

There are various ways, all of which result in the “Reply as linked topic” toggle to incorrectly appear.

1. I go to my messages page (/u/jerry0/messages) and click on New Message;

 ![image](https://global.discourse-cdn.com/meta/original/3X/6/6/665d75cb9c860b16260710a4caa9415424e204dc.png)

1. I go to a user card (e.g. after a search for a user in the header menu), and click on “Message” in the user card:

 ![image](https://global.discourse-cdn.com/meta/original/3X/4/0/4026f8ea412dd016aceac84ab80af0c7821098d7.jpg)

1. We are also using the createPM composer function as per @Johani 's excellent post here:

> [@Create a new topic button with category and topic template](https://meta.discourse.org/t/how-to-create-a-new-topic-button-with-category-and-topic-template/85775/4):
>
> For a PM you’d need to set a few of the composer options differently. Something like this: (Same as above, in a theme component in the \</head\> section) \<script type="text/discourse-plugin" version="0.8.18"\> api.decorateWidget("header-buttons:after", helper =\> { if (Discourse.User.current()) { // edit these two to your liking var $ntb\_text = "New Personal Message", $ntb\_icon = "heart", // no need to edit these $ntb\_icon\_class = ".fa-" + $ntb\_icon, …

---

_[View the full topic](https://meta.discourse.org/t/toggle-menu-in-composer/87172)._
