From dd07d3f114ac302e53f29eb49e15440a8d5e1c5c Mon Sep 17 00:00:00 2001 From: octavioamu Date: Sat, 15 Feb 2020 00:11:29 -0300 Subject: [PATCH] fix refresh msg infinite append --- app/assets/v2/js/pages/townsquare.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app/assets/v2/js/pages/townsquare.js b/app/assets/v2/js/pages/townsquare.js index 749c8ccbd0d..38a8c74ed96 100644 --- a/app/assets/v2/js/pages/townsquare.js +++ b/app/assets/v2/js/pages/townsquare.js @@ -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 = `View Action`; // return $(this).parent().next().html(btn);