mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-21 22:04:31 -04:00
Initial Commit Rework
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
var $ = require('jquery');
|
||||
|
||||
module.exports = {
|
||||
resolutions: {
|
||||
desktopLarge: 1200,
|
||||
desktop: 992,
|
||||
tablet: 768,
|
||||
mobile: 480
|
||||
},
|
||||
|
||||
isDesktopLarge() {
|
||||
return $(window).width() < this.resolutions.desktopLarge;
|
||||
},
|
||||
|
||||
isDesktop() {
|
||||
return $(window).width() < this.resolutions.desktop;
|
||||
},
|
||||
|
||||
isTablet() {
|
||||
return $(window).width() < this.resolutions.tablet;
|
||||
},
|
||||
|
||||
isMobile() {
|
||||
return $(window).width() < this.resolutions.mobile;
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user