WWE RAW Results, 26th November 2018, Live Commentary & Updates – Sportskeeda

‘;
var element = div.firstChild;
if(liveTopicStickyText) {
liveTopicStickyText.parentNode.replaceChild(element, liveTopicStickyText);
}
}
var liveTopicTitle = document.getElementById(‘heading’)
liveTopicTitle.innerHTML = data.title;
var liveTopicPageTitle = $(‘title’);
liveTopicPageTitle.innerHTML = (data.seoTitle ? data.seoTitle : data.title);
if (data.hasOwnProperty(‘cards’) && !!data.cards) {
for (var i = data.cards.length – 1; i >= 0; i–) {
render(data.cards[i]);
}
}
});
}
timerForTopicTitleSummaryStickyText();
var slugTimer = setInterval(timerForTopicTitleSummaryStickyText, 20 * 1000);
var loadMoreBtn=$(“#load-more-holder”);
if(!loadMoreUrl)
loadMoreBtn.parentNode.removeChild(loadMoreBtn);
/*
END:
Logic to update title / summary / sticky test using ajax
*/
function render(data) {
var card = document.getElementById(data.id);
if (card !== null) {
if (data.source !== ‘comment’) {
return;
}
var div = document.createElement(‘div’);
div.innerHTML = data.html;
var element = div.firstChild;
card.parentNode.replaceChild(element, card);
return;
}
if (data.source === ‘twitter’) {
setTimeout(function () {
twttr.widgets.load();
}, 1000);
}
var older_data_div = document.getElementById(“older_data”);
older_data_div.insertAdjacentHTML(‘afterbegin’, data.html);
}
};

here.