From f432a56bad6ab4c3895b1c6f3e3a56d76fc0b79c Mon Sep 17 00:00:00 2001 From: "mhoye@mozilla.com" Date: Wed, 15 Oct 2014 20:05:46 +0000 Subject: [PATCH] Adding navigation/search to Projects planet. git-svn-id: https://svn.mozilla.org/projects/planet@133179 4eb1ac78-321c-0410-a911-ec516a8615a5 --- branches/projects/theme/personalize.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/branches/projects/theme/personalize.js b/branches/projects/theme/personalize.js index 2feeffc..7004e0d 100644 --- a/branches/projects/theme/personalize.js +++ b/branches/projects/theme/personalize.js @@ -294,4 +294,8 @@ function personalize() { } // hook event -document.addEventListener("DOMContentLoaded", personalize, false); +if (document.getElementById('footer')) { + personalize(); +} else { + document.addEventListener("DOMContentLoaded", personalize, false); +}