Skip to content

Commit

Permalink
fix refresh msg infinite append
Browse files Browse the repository at this point in the history
  • Loading branch information
octavioamu committed Feb 15, 2020
1 parent 34bbfbb commit dd07d3f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/assets/v2/js/pages/townsquare.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ $(document).ready(function() {
if (timeFuture && (timeDiff < 0)) {
$(this).html('now');
$(this).parents('.offer_container').addClass('animate').removeClass('empty');
$(this).removeAttr('data-time');

// let btn = `<a class="btn btn-block btn-gc-blue btn-sm mt-2" href="${timeUrl}">View Action</a>`;
// return $(this).parent().next().html(btn);
Expand Down

0 comments on commit dd07d3f

Please sign in to comment.