From edb8bda9ddfa68ce66344e3f339269cb722a37b8 Mon Sep 17 00:00:00 2001 From: David Li Date: Sat, 31 Aug 2013 16:56:08 +0000 Subject: [PATCH] Sidebar: strip spaces from cookie key This ensures the sidebar will correctly restore its open/closed state. --- sphinx/themes/default/static/sidebar.js_t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sphinx/themes/default/static/sidebar.js_t b/sphinx/themes/default/static/sidebar.js_t index 242005254..2a1bd0d24 100644 --- a/sphinx/themes/default/static/sidebar.js_t +++ b/sphinx/themes/default/static/sidebar.js_t @@ -148,7 +148,7 @@ $(function() { var items = document.cookie.split(';'); for(var k=0; k