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:
parent
c40b3ba337
commit
4f6dcc9999
15 changed files with 3017 additions and 38 deletions
|
@ -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'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue