From 3661bf759547646108d93c46eacc875db2ec4a70 Mon Sep 17 00:00:00 2001 From: jlukic Date: Tue, 2 Jun 2015 18:52:36 -0400 Subject: [PATCH] Fixes #2340, no context specified, auto context is not recalculated on resize --- server/files/javascript/docs.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/server/files/javascript/docs.js b/server/files/javascript/docs.js index 1c2b2f764..1bfa16be1 100644 --- a/server/files/javascript/docs.js +++ b/server/files/javascript/docs.js @@ -1033,7 +1033,9 @@ semantic.ready = function() { // create sidebar sticky $tocSticky - .sticky() + .sticky({ + context: $container + }) ; // load page tabs