Files
BetterYGG/contentScripts/allPages/accessAllPages.js
2019-05-30 23:34:14 +02:00

10 lines
221 B
JavaScript

hideSidebar();
$(window).on('resize', function () {
hideSidebar();
});
function hideSidebar() {
$(window).width() < 1750 ? $('#cat, .back-cat').removeClass('active') : $('#cat, .back-cat').addClass('active');
}