From 237d1ff37b42113c82ddc3ba947fa936732c7742 Mon Sep 17 00:00:00 2001 From: Shane Tomlinson <stomlinson@mozilla.com> Date: Tue, 24 Apr 2012 18:10:35 +0100 Subject: [PATCH] Add a comment clarifying that page specific code is not started if cookies are disabled. --- resources/static/pages/start.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/resources/static/pages/start.js b/resources/static/pages/start.js index e781afe91..f2adcff07 100644 --- a/resources/static/pages/start.js +++ b/resources/static/pages/start.js @@ -51,6 +51,8 @@ $(function() { } function start(status) { + // If cookies are disabled, do not run any of the page specific code and + // instead just show the error message. if(!status) return; dom.addClass("body", "ready"); -- GitLab