diff --git a/src/libpoketube/init/pages-404-and-main.js b/src/libpoketube/init/pages-404-and-main.js index 85c87d2c..bd5e3199 100644 --- a/src/libpoketube/init/pages-404-and-main.js +++ b/src/libpoketube/init/pages-404-and-main.js @@ -65,8 +65,7 @@ module.exports = function (app, config, renderTemplate) { app.get("/:v*?", async function (req, res) { const uaos = req.useragent.os; const browser = req.useragent.browser; - const isOldWindows = - (uaos === "Windows 7" || uaos === "Windows 8") && browser === "Firefox"; + const isOldWindows = (uaos === "Windows 7" || uaos === "Windows 8") && browser === "Firefox"; const rendermainpage = () => { if (req.useragent.isMobile) {