A platform for community discussion. Free, open, simple.
UX: moves editFirstPost in taggable Pms in dropdown on mobile (#9840)
Joffrey JAFFEUX30631a963ff6
diff --git a/app/assets/javascripts/discourse/app/initializers/topic-footer-buttons.js b/app/assets/javascripts/discourse/app/initializers/topic-footer-buttons.jsindex e00c947310e..a2de76d3e9d 100644--- a/app/assets/javascripts/discourse/app/initializers/topic-footer-buttons.js+++ b/app/assets/javascripts/discourse/app/initializers/topic-footer-buttons.js@@ -175,6 +175,9 @@ export default {action: "editFirstPost",classNames: ["edit-message"],dependentKeys: ["editFirstPost", "showEditOnFooter"],+ dropdown() {+ return this.site.mobileView && this.get("topic.isPrivateMessage");+ },displayed() {return this.showEditOnFooter;}