1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-08-17 03:20:53 +00:00

4.0.0-rc18

* Added: Reason context menus for in-line timeout and ban actions.
* Fixed: Certain FFZ tool-tips using the wrong input handlers.
* Fixed: Do not update CSS whenever bits configuration changes, only when necessary. (Performance fix for the bleed purple campaign.)
* Changed: Mark certain page elements with a flag to avoid crawling them with MutationObservers. (More performance~~)
This commit is contained in:
SirStendec 2019-04-29 18:14:04 -04:00
parent 1649294bde
commit 23816fafc9
16 changed files with 464 additions and 36 deletions

View file

@ -189,11 +189,14 @@ export class ManagedStyle {
this._style = null;
}
set(key, value) {
set(key, value, force) {
const block = this._blocks[key];
if ( block )
if ( block ) {
if ( ! force && block.textContent === value )
return;
block.textContent = value;
else
} else
this._style.appendChild(this._blocks[key] = document.createTextNode(value));
}