mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-06-28 15:27:43 +00:00
3.5.174. A bit of code cleanup. New UI to block games in the directory, or hide their thumbnails. Added boxart to videos cause Twitch removed it.
This commit is contained in:
parent
78fddccbb5
commit
fbb12d726a
8 changed files with 179 additions and 77 deletions
|
@ -492,7 +492,8 @@ module.exports = FFZ.utils = {
|
|||
},
|
||||
|
||||
toggle_cls: function(cls) {
|
||||
var cl = document.body.classList;
|
||||
return cl.toggle.bind(cl, cls);
|
||||
return function(val) {
|
||||
document.body.classList.toggle(cls, val);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue