[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor-browser/tor-browser-38.1.0esr-5.0-1] Bug 16316: Fix New Tiles pref bustage.



commit e99a53f4fa96ce4525114403580f3a7194360de5
Author: Mike Perry <mikeperry-git@xxxxxxxxxxxxxx>
Date:   Mon Jul 13 13:19:47 2015 -0700

    Bug 16316: Fix New Tiles pref bustage.
    
    This allows us to set the newtiles pref to 'classic' mode for the default
    value.
---
 browser/modules/DirectoryLinksProvider.jsm |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/browser/modules/DirectoryLinksProvider.jsm b/browser/modules/DirectoryLinksProvider.jsm
index 9385c09..3f31b28 100644
--- a/browser/modules/DirectoryLinksProvider.jsm
+++ b/browser/modules/DirectoryLinksProvider.jsm
@@ -139,7 +139,7 @@ let DirectoryLinksProvider = {
    * Set appropriate default ping behavior controlled by enhanced pref
    */
   _setDefaultEnhanced: function DirectoryLinksProvider_setDefaultEnhanced() {
-    if (!Services.prefs.prefHasUserValue(PREF_NEWTAB_ENHANCED)) {
+    if (Services.prefs.getBoolPref(PREF_NEWTAB_ENHANCED)) {
       let enhanced = true;
       try {
         // Default to not enhanced if DNT is set to tell websites to not track



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits