diff --git a/js/hopscotch.js b/js/hopscotch.js index 5072dd0e..4a2254d2 100644 --- a/js/hopscotch.js +++ b/js/hopscotch.js @@ -1188,6 +1188,7 @@ if (cb) { callbacks[evtType].push({ cb: cb, fromTour: isTourCb }); } + return this; }; /** @@ -1217,6 +1218,7 @@ callbacks[evtType] = []; } } + return this; }; /** diff --git a/js/hopscotch_jquery.js b/js/hopscotch_jquery.js index ee42799d..e800e0f7 100644 --- a/js/hopscotch_jquery.js +++ b/js/hopscotch_jquery.js @@ -1054,6 +1054,7 @@ if (cb) { callbacks[evtType].push({ cb: cb, fromTour: isTourCb }); } + return this; }; /** @@ -1083,6 +1084,7 @@ callbacks[evtType] = []; } } + return this; }; /**