1
0
Fork 0
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:
SirStendec 2016-05-12 16:06:26 -04:00
parent 78fddccbb5
commit fbb12d726a
8 changed files with 179 additions and 77 deletions

View file

@ -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);
}
}
}