Skip to content

Commit

Permalink
fix repost link
Browse files Browse the repository at this point in the history
  • Loading branch information
AdeelH committed Jun 3, 2017
1 parent 5c5e3ba commit 86aedd4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions template.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<script id="search-results-template" type="text/x-handlebars-template">
<div class="row num-results-container">
{{#if numPosts}}
<span id="num-results">{{numPosts}} results | <a href="https://www.reddit.com/{{url}}">repost to Reddit</a></span>
<span id="num-results">{{numPosts}} results | <a href="https://www.reddit.com/submit?url={{url}}&resubmit=true">repost to Reddit</a></span>
{{else}}
<span id="num-results">{{numPosts}} results | <a href="https://www.reddit.com/{{url}}">post to Reddit</a></span>
<span id="num-results">{{numPosts}} results | <a href="https://www.reddit.com/submit?url={{url}}">post to Reddit</a></span>
{{/if}}
</div>
<div class="row container-fluid list-container">
Expand Down

0 comments on commit 86aedd4

Please sign in to comment.