mirror of
https://github.com/discourse/discourse.git
synced 2025-09-07 12:02:53 +08:00
The quote-other-topic
class has been removed
This commit is contained in:
parent
127c13314a
commit
f4decf9193
6 changed files with 10 additions and 47 deletions
|
@ -17,7 +17,7 @@ QUnit.module("lib:click-track-profile-page", {
|
|||
fixture().html(
|
||||
`<p class="excerpt first" data-post-id="42" data-topic-id="1337" data-user-id="3141">
|
||||
<a href="http://www.google.com">google.com</a>
|
||||
<a class="lightbox back quote-other-topic" href="http://www.google.com">google.com</a>
|
||||
<a class="lightbox back" href="http://www.google.com">google.com</a>
|
||||
<div class="onebox-result">
|
||||
<a id="inside-onebox" href="http://www.google.com">google.com<span class="badge">1</span></a>
|
||||
<a id="inside-onebox-forced" class="track-link" href="http://www.google.com">google.com<span class="badge">1</span></a>
|
||||
|
@ -29,7 +29,7 @@ QUnit.module("lib:click-track-profile-page", {
|
|||
</p>
|
||||
<p class="excerpt second" data-post-id="24" data-topic-id="7331" data-user-id="1413">
|
||||
<a href="http://www.google.com">google.com</a>
|
||||
<a class="lightbox back quote-other-topic" href="http://www.google.com">google.com</a>
|
||||
<a class="lightbox back" href="http://www.google.com">google.com</a>
|
||||
<div class="onebox-result">
|
||||
<a id="inside-onebox" href="http://www.google.com">google.com<span class="badge">1</span></a>
|
||||
<a id="inside-onebox-forced" class="track-link" href="http://www.google.com">google.com<span class="badge">1</span></a>
|
||||
|
@ -72,10 +72,6 @@ QUnit.test("does not track clicks on back buttons", assert => {
|
|||
assert.ok(track(generateClickEventOn('.back')));
|
||||
});
|
||||
|
||||
QUnit.test("does not track clicks on quote buttons", assert => {
|
||||
assert.ok(track(generateClickEventOn('.quote-other-topic')));
|
||||
});
|
||||
|
||||
QUnit.test("does not track clicks on category badges", assert => {
|
||||
assert.ok(track(generateClickEventOn('.hashtag')));
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue