From cf387740f2a52c5b846d04f3bb76344b064e6886 Mon Sep 17 00:00:00 2001 From: BitTube Date: Wed, 11 Mar 2020 08:59:41 +0000 Subject: Action hook: thread replies loaded (#2550) * Add thread replies hook onLoaded * Cleaning spaces * Fixing travis CI lint errors (spaces) * Fixing travis 'irregular whitespace not allowed' * Changing action name for consistency Co-authored-by: ICabaleiro --- shared/models/plugins/client-hook.model.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'shared/models/plugins') diff --git a/shared/models/plugins/client-hook.model.ts b/shared/models/plugins/client-hook.model.ts index fc36e5771..62f6070d7 100644 --- a/shared/models/plugins/client-hook.model.ts +++ b/shared/models/plugins/client-hook.model.ts @@ -67,6 +67,8 @@ export const clientActionHookObject = { 'action:video-watch.player.loaded': true, // Fired when the video watch page comments(threads) are loaded and load more comments on scroll 'action:video-watch.video-threads.loaded': true, + // Fired when a user click on 'View x replies' and they're loaded + 'action:video-watch.video-thread-replies.loaded': true, // Fired when the search page is being initialized 'action:search.init': true, -- cgit v1.2.3