aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2019-12-04 12:01:24 +0100
committerMax Kostikov <max@kostikov.co>2019-12-04 12:01:24 +0100
commit5998445841225c286a7155d100dddc4c31079e84 (patch)
tree529d573e1d2fbcc5a1cda0098b940431f69e2279
parent4038b78377ed9a66eb100cefd9e9df759af17a24 (diff)
parentd9c39d0c410d4aced1c9bdef4b431b039328b92c (diff)
downloadvolse-hubzilla-5998445841225c286a7155d100dddc4c31079e84.tar.gz
volse-hubzilla-5998445841225c286a7155d100dddc4c31079e84.tar.bz2
volse-hubzilla-5998445841225c286a7155d100dddc4c31079e84.zip
Merge branch 'dev' into 'dev'
Remove pinned item on every change See merge request hubzilla/core!1798
-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(); });