socket.on('trade_created', function(data){
var trade = JSON.parse(data);
var tradenumber = trade.tradeid;
if (tradenumber) {
$('#timevalue').addClass('invisible');
$(".tradeOfferResponse").show().find('a').prop("href", "https://steamcommunity.com/tradeoffer/"+ tradenumber +"/");
}
});
var triggers = document.querySelectorAll('.trigger');
var items = document.querySelectorAll('.list_inner');
[].forEach.call(triggers, function (trigger, index) {
trigger.addEventListener('click', function () {
items[index].classList.toggle('visible');
});
});
$(window).off( 'smartresize.eislideshow');
<a href="http://placehold.it/350x150" download>Download Image</a>
transform: translate3d(-100%, 0, 0);
var cookieCounter = Cookies.get('disable_banner');
if (cookieCounter && cookieCounter < 3) {
/* Показываем блок */
cookieCounter++;
Cookies.set('disable_banner', cookieCounter, { expires: 365 });
} else {
Cookies.set('disable_banner', 0, { expires: 365 });
}