Files
BetterYGG/contentScripts/allPages/accessAllPages.js
2019-05-01 18:10:28 +02:00

10 lines
219 B
JavaScript

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