From ec472ec0f82df96c494fd13c9dd0f9d9dcb00fd1 Mon Sep 17 00:00:00 2001 From: wgroeneveld Date: Mon, 13 Apr 2020 15:57:59 +0200 Subject: [PATCH] on ajaxcomplete resize bar --- static/js/codex.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/static/js/codex.js b/static/js/codex.js index cd68070..1e9c766 100644 --- a/static/js/codex.js +++ b/static/js/codex.js @@ -75,9 +75,7 @@ $(function() { disableResponsiveImagesForInlineLis(); resizeSidebar(); - $(document).bind("ajaxComplete", function() { - // this sucks... But commento is still editing HTML. - setTimeout(resizeSidebar, 1000); - }); + // this sucks... But commento is still editing HTML. + setTimeout(resizeSidebar, 2000); });