1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-07-30 22:48:30 +00:00

3.5.156. Feed Cards. CSS tweaks. Fixed Golden Kappa's tooltip. Not much here.

This commit is contained in:
SirStendec 2016-04-11 18:57:25 -04:00
parent 9ead660f89
commit 21d1ce0d8f
12 changed files with 130 additions and 127 deletions

View file

@ -216,30 +216,13 @@ FFZ.prototype._modify_cindex = function(view) {
el.classList.add('ffz-channel');
// Try changing the theater mode tooltip.
/* Deprecated: Theatre button is now in the player.
var tb = this.$('.theatre-button > a'),
opts = tb.data('tipsy');
tb.attr('title', 'Theater Mode (Alt+T)');
if ( opts && opts.options && typeof opts.options.gravity !== "function" )
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);
}
}*/
opts.options.gravity = utils.tooltip_placement(constants.TOOLTIP_DISTANCE, opts.options.gravity || 'n');*/
this.ffzFixTitle();
this.ffzUpdateUptime();