mirror of
https://github.com/NohamR/BetterYGG.git
synced 2026-01-11 08:58:12 +00:00
[1.0] First commit
This commit is contained in:
9
contentScripts/allPages/accessAllPages.js
Normal file
9
contentScripts/allPages/accessAllPages.js
Normal file
@@ -0,0 +1,9 @@
|
||||
hideSidebar();
|
||||
|
||||
$(window).on('resize', function(){
|
||||
hideSidebar();
|
||||
});
|
||||
|
||||
function hideSidebar() {
|
||||
$(window).width() < 1750 ? $('#cat, .back-cat').removeClass('active') : $('#cat, .back-cat').addClass('active');
|
||||
}
|
||||
Reference in New Issue
Block a user