From 4b6567e48863c7ada4e5f820e29fdf6c892b8fd0 Mon Sep 17 00:00:00 2001 From: zmagod Date: Tue, 30 Aug 2016 11:03:33 +0200 Subject: [PATCH] fixed workflowimg link --- app/assets/javascripts/projects/show.js | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/app/assets/javascripts/projects/show.js b/app/assets/javascripts/projects/show.js index c6cce6fee..968caf871 100644 --- a/app/assets/javascripts/projects/show.js +++ b/app/assets/javascripts/projects/show.js @@ -137,11 +137,14 @@ $(document).ready(function(){ if( $('div').hasClass('introjs-overlay')){ $.each( $(".panel-title"), function(){ - $(this).css({ 'pointer-events': 'none' }); + $(this).css({ "pointer-events": "none" }); + }); + $.each( $(".workflowimg-container"), function(){ + $(this).css({ "pointer-events": "none" }); }); $.each( $(".dropdown-experiment-actions").find("li"), function(){ - $(this).css({ 'pointer-events': 'none' }); + $(this).css({ "pointer-events": "none" }); }); } }); @@ -149,11 +152,14 @@ function restore_after_tutorial(){ $.each( $(".panel-title"), function(){ - $(this).css({ 'pointer-events': 'auto' }); + $(this).css({ "pointer-events": "auto" }); + }); + $.each( $(".workflowimg-container"), function(){ + $(this).css({ "pointer-events": "auto" }); }); $.each( $(".dropdown-experiment-actions").find("li"), function(){ - $(this).css({ 'pointer-events': 'auto' }); + $(this).css({ "pointer-events": "auto" }); }); }