From b0bd92e3f4fd5ee3712b65f0962a20c0411a1f78 Mon Sep 17 00:00:00 2001 From: zmagod Date: Fri, 26 Aug 2016 09:17:55 +0200 Subject: [PATCH] fixed edit action --- app/assets/javascripts/projects/index.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/app/assets/javascripts/projects/index.js b/app/assets/javascripts/projects/index.js index a647cf104..16f6daa98 100644 --- a/app/assets/javascripts/projects/index.js +++ b/app/assets/javascripts/projects/index.js @@ -530,6 +530,11 @@ .css({ 'pointer-events': 'none', 'color': '#d2d2d2'}); + $(el) + .find('[data-action="edit"]') + .css({ + 'pointer-events': 'none', + 'color': '#d2d2d2'}); }); } }); @@ -548,6 +553,11 @@ .css({ 'pointer-events': 'auto', 'color': '#262626'}); + $(el) + .find('[data-action="edit"]') + .css({ + 'pointer-events': 'auto', + 'color': '#262626'}); }); }