aboutsummaryrefslogtreecommitdiffstats
path: root/view/js
diff options
context:
space:
mode:
Diffstat (limited to 'view/js')
-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(); });