1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-07-31 15:08:31 +00:00

3.5.152. Add support for Channel Feed. A smidgen of memes for Memeathon.

This commit is contained in:
SirStendec 2016-03-31 19:47:17 -04:00
parent a58810e177
commit 9ead660f89
9 changed files with 306 additions and 212 deletions

View file

@ -224,6 +224,23 @@ FFZ.prototype._modify_cindex = function(view) {
opts.options.gravity = utils.tooltip_placement(constants.TOOLTIP_DISTANCE, opts.options.gravity || 'n');
/*if ( id === 'memeathon' ) {
var sb = document.createElement('a');
sb.className = 'action button js-sub-button primary subscribe-button meme-sub-button';
sb.id = 'meme-scribe';
sb.innerHTML = '<span class="subscribe-text">Subscribe</span><span class="subscribe-price">$599.99</span>';
var actions = el.querySelector('.channel-actions');
if ( actions ) {
var c = actions.querySelector('.notification-controls') || actions.querySelector('.follow-button');
if ( c )
actions.insertBefore(sb, c.nextSibling);
else
actions.appendChild(sb);
}
}*/
this.ffzFixTitle();
this.ffzUpdateUptime();
this.ffzUpdateChatters();