From 5b1ace4f24f56171c1c89f8d0e29a99aa96381c2 Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Sat, 4 Dec 2021 16:36:56 +0100 Subject: [PATCH] autoconfig.js: fix indent (MR 19) --- src/mobile-config-autoconfig.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/mobile-config-autoconfig.js b/src/mobile-config-autoconfig.js index e48587a..61c9059 100644 --- a/src/mobile-config-autoconfig.js +++ b/src/mobile-config-autoconfig.js @@ -13,7 +13,7 @@ Cu.import("resource://gre/modules/FileUtils.jsm"); var chromeDir = Services.dirsvc.get("ProfD", Ci.nsIFile); chromeDir.append("chrome"); if (!chromeDir.exists()) { - chromeDir.create(Ci.nsIFile.DIRECTORY_TYPE, FileUtils.PERMS_DIRECTORY); + chromeDir.create(Ci.nsIFile.DIRECTORY_TYPE, FileUtils.PERMS_DIRECTORY); } // Create nsIFile objects for userChrome.css in /chrome/ and in /etc/ @@ -24,12 +24,12 @@ var defaultChrome = new FileUtils.File("/etc/mobile-config-firefox/userChrome.cs // Remove the existing userChrome.css if older than the installed one if (chromeFile.exists() && defaultChrome.exists() && chromeFile.lastModifiedTime < defaultChrome.lastModifiedTime) { - chromeFile.remove(false); + chromeFile.remove(false); } // Copy userChrome.css to /chrome/ if (!chromeFile.exists()) { - defaultChrome.copyTo(chromeDir, "userChrome.css"); + defaultChrome.copyTo(chromeDir, "userChrome.css"); } // Create nsIFile objects for userContent.css in /chrome/ and in /etc/ @@ -40,12 +40,12 @@ var defaultContent = new FileUtils.File("/etc/mobile-config-firefox/userContent. // Remove the existing userContent.css if older than the installed one if (contentFile.exists() && defaultContent.exists() && contentFile.lastModifiedTime < defaultContent.lastModifiedTime) { - contentFile.remove(false); + contentFile.remove(false); } // Copy userContent.css to /chrome/ if (!contentFile.exists()) { - defaultContent.copyTo(chromeDir, "userContent.css"); + defaultContent.copyTo(chromeDir, "userContent.css"); } // Select a mobile user agent for firefox (same as tor browser on android)