implement unfollow thread

This commit is contained in:
redmatrix
2015-11-03 14:59:14 -08:00
parent d13dae6b06
commit 2c299a9f37
5 changed files with 41 additions and 99 deletions

View File

@@ -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');