A platform for community discussion. Free, open, simple.
UX: Make the edits indicator a real link for accessibility (#6570)
Matthew Campbella2044c452872
diff --git a/app/assets/javascripts/discourse/widgets/post-edits-indicator.js.es6 b/app/assets/javascripts/discourse/widgets/post-edits-indicator.js.es6index 302d53f65c8..451e2332595 100644--- a/app/assets/javascripts/discourse/widgets/post-edits-indicator.js.es6+++ b/app/assets/javascripts/discourse/widgets/post-edits-indicator.js.es6@@ -62,13 +62,14 @@ export default createWidget("post-edits-indicator", {"a",{className,- attributes: { title }+ attributes: { title, href: "#" }},contents);},- click() {+ click(e) {+ e.preventDefault();if (this.attrs.wiki && this.attrs.version === 1) {this.sendWidgetAction("editPost");} else if (this.attrs.canViewEditHistory) {