Skip to content

Instantly share code, notes, and snippets.

@ichaykin
Created October 13, 2020 08:08
Show Gist options
  • Save ichaykin/fb82ed17be59b020da10c9664a457dcf to your computer and use it in GitHub Desktop.
Save ichaykin/fb82ed17be59b020da10c9664a457dcf to your computer and use it in GitHub Desktop.
diff --git a/js/addons/help_center/func.js b/js/addons/help_center/func.js
index 308dac3..390f4b3 100644
--- a/js/addons/help_center/func.js
+++ b/js/addons/help_center/func.js
@@ -1,7 +1,8 @@
(function(_, $){
$.ceEvent('on', 'ce.commoninit', function (context) {
if ($(context).is(document)) {
- fnInitHelpCenter();
+ setTimeout(fnInitHelpCenter, 2000);
+
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment