From e4795d6b127966b766a6ca0bc5141ae1f6c59aeb Mon Sep 17 00:00:00 2001 From: Pablo Vazquez Date: Fri, 4 Nov 2016 16:38:47 +0100 Subject: [PATCH] No need to scrollTop anymore! Since both sides are now scrollable --- src/scripts/tutti/10_tasks.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/scripts/tutti/10_tasks.js b/src/scripts/tutti/10_tasks.js index 3941389..8e00531 100644 --- a/src/scripts/tutti/10_tasks.js +++ b/src/scripts/tutti/10_tasks.js @@ -28,10 +28,6 @@ function item_open(item_id, item_type, pushState, project_url) } } - if ($(window).scrollTop() > 0) { - $("html, body").animate({scrollTop: 0 }, '500', 'swing'); - } - $('#col_right .col_header span.header_text').text(item_type + ' details'); // Style elements starting with item_type and dash, e.g. "#shot-uuid"