aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/jot-header.tpl
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-06-03 11:04:16 +0200
committerMario Vavti <mario@mariovavti.com>2016-06-03 11:04:16 +0200
commit25aded6b9b137a32d9f9ea68baf3e2102fb293e7 (patch)
treee448899f37eb48e6ee2a5ffdb4fd55bf5e9a779b /view/tpl/jot-header.tpl
parentb4eb9f2a1142cf121dd41ea0ad81475d38343308 (diff)
parent8d6c2b5d4a799d87df1cd9f6f258890045ce6c62 (diff)
downloadvolse-hubzilla-25aded6b9b137a32d9f9ea68baf3e2102fb293e7.tar.gz
volse-hubzilla-25aded6b9b137a32d9f9ea68baf3e2102fb293e7.tar.bz2
volse-hubzilla-25aded6b9b137a32d9f9ea68baf3e2102fb293e7.zip
Merge branch 'sabre32' of https://github.com/redmatrix/hubzilla into sabre32
Diffstat (limited to 'view/tpl/jot-header.tpl')
-rwxr-xr-xview/tpl/jot-header.tpl8
1 files changed, 8 insertions, 0 deletions
diff --git a/view/tpl/jot-header.tpl b/view/tpl/jot-header.tpl
index aeb661008..43df2e175 100755
--- a/view/tpl/jot-header.tpl
+++ b/view/tpl/jot-header.tpl
@@ -349,6 +349,14 @@ function enableOnUser(){
}
}
+ function jotReact(id,icon) {
+ if(id && icon) {
+ $.get('{{$baseurl}}/react?f=&postid=' + id + '&emoji=' + icon);
+ if(timer) clearTimeout(timer);
+ timer = setTimeout(NavUpdate,1000);
+ }
+ }
+
function jotClearLocation() {
$('#jot-coord').val('');
$('#profile-nolocation-wrapper').attr('disabled', true);