From 74b14f1154cdee3141e7505b5c5f2b0e16ba9d4a Mon Sep 17 00:00:00 2001 From: Pablo Vazquez Date: Thu, 3 Nov 2016 16:07:39 +0100 Subject: [PATCH] Fix styling shot row when clicking on task --- src/scripts/tutti/10_tasks.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/tutti/10_tasks.js b/src/scripts/tutti/10_tasks.js index 2beaeaa..3dbd264 100644 --- a/src/scripts/tutti/10_tasks.js +++ b/src/scripts/tutti/10_tasks.js @@ -88,7 +88,7 @@ function task_open(task_id, project_url) if (ProjectUtils.context() == 'shot'){ $('[id^="shot-"]').removeClass('active'); - $(this).parent().parent().addClass('active'); + $('#task-' + task_id).closest('.table-row').addClass('active'); } }