aboutsummaryrefslogtreecommitdiffstats
path: root/view/js
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-11-03 14:59:14 -0800
committerredmatrix <redmatrix@redmatrix.me>2015-11-03 14:59:14 -0800
commit2c299a9f379b9e8af33cae4270ec1c0c5cf2bc99 (patch)
tree751c48e547ae9c9bf509fb6c2d62503b66fae5d8 /view/js
parentd13dae6b060ad1147426ae88791cac5970ab3b03 (diff)
downloadvolse-hubzilla-2c299a9f379b9e8af33cae4270ec1c0c5cf2bc99.tar.gz
volse-hubzilla-2c299a9f379b9e8af33cae4270ec1c0c5cf2bc99.tar.bz2
volse-hubzilla-2c299a9f379b9e8af33cae4270ec1c0c5cf2bc99.zip
implement unfollow thread
Diffstat (limited to 'view/js')
-rw-r--r--view/js/main.js12
1 files changed, 11 insertions, 1 deletions
diff --git a/view/js/main.js b/view/js/main.js
index acdc2e5f5..527e6716a 100644
--- a/view/js/main.js
+++ b/view/js/main.js
@@ -836,10 +836,20 @@ function dropItem(url, object) {
function dosubthread(ident) {
unpause();
$('#like-rotator-' + ident.toString()).spin('tiny');
- $.get('subthread/' + ident.toString(), NavUpdate );
+ $.get('subthread/sub/' + ident.toString(), NavUpdate );
liking = 1;
}
+
+function dounsubthread(ident) {
+ unpause();
+ $('#like-rotator-' + ident.toString()).spin('tiny');
+ $.get('subthread/unsub/' + ident.toString(), NavUpdate );
+ liking = 1;
+}
+
+
+
function dostar(ident) {
ident = ident.toString();
$('#like-rotator-' + ident).spin('tiny');