diff options
Diffstat (limited to 'view')
-rw-r--r-- | view/js/main.js | 12 |
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'); |