diff options
author | Max Kostikov <max@kostikov.co> | 2019-12-04 11:58:42 +0100 |
---|---|---|
committer | Max Kostikov <max@kostikov.co> | 2019-12-04 11:58:42 +0100 |
commit | d9c39d0c410d4aced1c9bdef4b431b039328b92c (patch) | |
tree | 952ef9cd9ab5f322e3d8b4a494f682de38861aac /view/js/main.js | |
parent | dce8516da45036e6216d1303c7476bcd0b838787 (diff) | |
download | volse-hubzilla-d9c39d0c410d4aced1c9bdef4b431b039328b92c.tar.gz volse-hubzilla-d9c39d0c410d4aced1c9bdef4b431b039328b92c.tar.bz2 volse-hubzilla-d9c39d0c410d4aced1c9bdef4b431b039328b92c.zip |
Remove pinned item on every change
Diffstat (limited to 'view/js/main.js')
-rw-r--r-- | view/js/main.js | 2 |
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(); }); |