aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models
diff options
context:
space:
mode:
authorBitTube <hello@bittube.app>2020-03-11 08:59:41 +0000
committerGitHub <noreply@github.com>2020-03-11 09:59:41 +0100
commitcf387740f2a52c5b846d04f3bb76344b064e6886 (patch)
tree533d0b085e179311610695ec79093c4bdefa32b4 /shared/models
parent9878d1ac63682ba58ace4cbe8b1878fa77c58acb (diff)
downloadPeerTube-cf387740f2a52c5b846d04f3bb76344b064e6886.tar.gz
PeerTube-cf387740f2a52c5b846d04f3bb76344b064e6886.tar.zst
PeerTube-cf387740f2a52c5b846d04f3bb76344b064e6886.zip
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 <i.cabaleiro@devcups.com>
Diffstat (limited to 'shared/models')
-rw-r--r--shared/models/plugins/client-hook.model.ts2
1 files changed, 2 insertions, 0 deletions
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 = {
67 'action:video-watch.player.loaded': true, 67 'action:video-watch.player.loaded': true,
68 // Fired when the video watch page comments(threads) are loaded and load more comments on scroll 68 // Fired when the video watch page comments(threads) are loaded and load more comments on scroll
69 'action:video-watch.video-threads.loaded': true, 69 'action:video-watch.video-threads.loaded': true,
70 // Fired when a user click on 'View x replies' and they're loaded
71 'action:video-watch.video-thread-replies.loaded': true,
70 72
71 // Fired when the search page is being initialized 73 // Fired when the search page is being initialized
72 'action:search.init': true, 74 'action:search.init': true,