diff --git a/static/js/codex.js b/static/js/codex.js index 2dc8acd..cd68070 100644 --- a/static/js/codex.js +++ b/static/js/codex.js @@ -75,6 +75,9 @@ $(function() { disableResponsiveImagesForInlineLis(); resizeSidebar(); - $(document).bind("ajaxComplete", resizeSidebar); + $(document).bind("ajaxComplete", function() { + // this sucks... But commento is still editing HTML. + setTimeout(resizeSidebar, 1000); + }); });