aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2019-12-04 11:58:42 +0100
committerMax Kostikov <max@kostikov.co>2019-12-04 11:58:42 +0100
commitd9c39d0c410d4aced1c9bdef4b431b039328b92c (patch)
tree952ef9cd9ab5f322e3d8b4a494f682de38861aac
parentdce8516da45036e6216d1303c7476bcd0b838787 (diff)
downloadvolse-hubzilla-d9c39d0c410d4aced1c9bdef4b431b039328b92c.tar.gz
volse-hubzilla-d9c39d0c410d4aced1c9bdef4b431b039328b92c.tar.bz2
volse-hubzilla-d9c39d0c410d4aced1c9bdef4b431b039328b92c.zip
Remove pinned item on every change
-rw-r--r--view/js/main.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/js/main.js b/view/js/main.js
index b14befffa..1baf1ca1f 100644
--- a/view/js/main.js
+++ b/view/js/main.js
@@ -1128,7 +1128,7 @@ function dopin(id) {
.done(function() {
var i = $('#wall-item-pinned-' + id);
var me = $('#item-pinnable-' + id);
- var pin = $('#pinned-wrapper-' + id);
+ var pin = $('.pinned-item');
if(pin.length) {
$('html, body').animate({ scrollTop: $('#region_2').offset().top }, 'slow', function() {
pin.fadeTo('fast', 0.33, function() { this.remove(); });