1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-08-21 21:40:54 +00:00

3.5.58 to 3.5.62. Added enhanced following controls to the profile page. New Conversations options. Tweaked conversation styles.

This commit is contained in:
SirStendec 2015-11-10 21:37:30 -05:00
parent c40b3ba337
commit 4f6dcc9999
15 changed files with 3017 additions and 38 deletions

View file

@ -570,19 +570,7 @@ FFZ.prototype._update_colors = function(darkness_only) {
this._color_old_darkness = is_dark;
var colored_bits = document.querySelectorAll('.chat-line .has-color');
for(var i=0, l=colored_bits.length; i < l; i++) {
var bit = colored_bits[i],
color = bit.getAttribute('data-color'),
colors = color && this._handle_color(color);
if ( ! colors )
continue;
bit.style.color = is_dark ? colors[1] : colors[0];
}
colored_bits = document.querySelectorAll('.conversation-chat-line .has-color');
var colored_bits = document.querySelectorAll('.has-color');
for(var i=0, l=colored_bits.length; i < l; i++) {
var bit = colored_bits[i],
color = bit.getAttribute('data-color'),