diff --git a/app/assets/javascripts/discourse/lib/click-track.js.es6 b/app/assets/javascripts/discourse/lib/click-track.js.es6 index ff9cb9a8620..e4932df07c5 100644 --- a/app/assets/javascripts/discourse/lib/click-track.js.es6 +++ b/app/assets/javascripts/discourse/lib/click-track.js.es6 @@ -84,7 +84,7 @@ export default { e.preventDefault(); // We don't track clicks on quote back buttons - if ($link.hasClass('back') || $link.hasClass('quote-other-topic')) { return true; } + if ($link.hasClass('back')) { return true; } // Remove the href, put it as a data attribute if (!$link.data('href')) { diff --git a/app/assets/javascripts/discourse/widgets/post-cooked.js.es6 b/app/assets/javascripts/discourse/widgets/post-cooked.js.es6 index 11eaf277dc8..447a0700c9b 100644 --- a/app/assets/javascripts/discourse/widgets/post-cooked.js.es6 +++ b/app/assets/javascripts/discourse/widgets/post-cooked.js.es6 @@ -161,21 +161,11 @@ export default class PostCooked { const quoteTitle = I18n.t("post.follow_quote"); const postNumber = $aside.data('post'); + // If we have a post reference if (postNumber) { - - // If we have a topic reference - const asideTopicId = parseInt($aside.data('topic')); - - if (asideTopicId) { - // If it's the same topic as ours, build the URL from the topic object - if (this.attrs.topicId === asideTopicId) { - navLink = ``; - } - } else { - // assume the same topic - navLink = ``; - } + navLink = ``; } + // Only add the expand/contract control if it's not a full post let expandContract = ""; if (!$aside.data('full')) { diff --git a/app/assets/stylesheets/common/base/topic-post.scss b/app/assets/stylesheets/common/base/topic-post.scss index 4f6d8d4dc26..3e843ce3de4 100644 --- a/app/assets/stylesheets/common/base/topic-post.scss +++ b/app/assets/stylesheets/common/base/topic-post.scss @@ -87,7 +87,7 @@ aside.quote { } } -.quote-controls, .quote-controls .back:before, .quote-controls .quote-other-topic:before { +.quote-controls { color: dark-light-choose(scale-color($primary, $lightness: 70%), scale-color($secondary, $lightness: 30%)); } @@ -117,21 +117,6 @@ aside.quote { a { margin: 0; } - - .back:before, .quote-other-topic:before - { - display: inline-block; - margin-left: 8px; - font-family: "FontAwesome"; - position: relative; - z-index: 20; - content: "\f062"; - } - - .quote-other-topic:before - { - content: "\f061"; - } } .quote-button { diff --git a/test/javascripts/lib/click-track-edit-history-test.js.es6 b/test/javascripts/lib/click-track-edit-history-test.js.es6 index bf0c6abad94..92e9a07e76c 100644 --- a/test/javascripts/lib/click-track-edit-history-test.js.es6 +++ b/test/javascripts/lib/click-track-edit-history-test.js.es6 @@ -21,7 +21,7 @@ QUnit.module("lib:click-track-edit-history", {
google.com - google.com + google.com
google.com - google.com + google.com