Bug 645694 - Tapping on Desktop tab triggers no action [r=mbrubeck]
authorVivien Nicolas <21@vingtetun.org>
Tue, 29 Mar 2011 16:41:38 +0200
changeset 2946 d402e973b4c9cc1aff687376e53cea097fa2e6f1
parent 2945 6ba832bb0dc0266446f2d8e2ed6e6c7f1b2a968e
child 2947 650faad3682ff9397717fa3783c2d254a9420851
push id2483
push uservnicolas@mozilla.com
push dateTue, 29 Mar 2011 14:42:43 +0000
reviewersmbrubeck
bugs645694
Bug 645694 - Tapping on Desktop tab triggers no action [r=mbrubeck]
chrome/content/bindings.xml
--- a/chrome/content/bindings.xml
+++ b/chrome/content/bindings.xml
@@ -1379,17 +1379,17 @@
           // Don't do anything if the tabs engine isn't ready
           let engine = Weave.Engines.get("tabs");
           if (!engine)
             return [];
 
           // Don't bother refetching tabs if we already did so recently
           let lastFetch = Weave.Svc.Prefs.get("lastTabFetch", 0);
           let now = Math.floor(Date.now() / 1000);
-          if (now - lastFetch >= Services.prefs.getIntPref("browser.display.remotabs.timeout")) {
+          if (now - lastFetch >= Services.prefs.getIntPref("browser.display.remotetabs.timeout")) {
             // Force a sync only for the tabs engine
             engine.lastModified = null;
             engine.sync();
             Weave.Svc.Prefs.set("lastTabFetch", now);
           };
 
           // Generate the list of tabs
           let tabs = [];