From 2e1d81a9857fef53a281e750179c315b922d4c4f Mon Sep 17 00:00:00 2001 From: zmagod Date: Thu, 11 Aug 2016 12:40:16 +0200 Subject: [PATCH] fixed project archive in tutorial --- app/assets/javascripts/projects/index.js | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/app/assets/javascripts/projects/index.js b/app/assets/javascripts/projects/index.js index cb571aa25..e9d8f06d9 100644 --- a/app/assets/javascripts/projects/index.js +++ b/app/assets/javascripts/projects/index.js @@ -422,7 +422,8 @@ exitOnOverlayClick: false, exitOnEsc: false, disableInteraction: true, - tooltipClass: 'custom' + tooltipClass: 'custom', + tooltipPosition: 'right' }) .goToStep(goToStep) .onafterchange(function (tarEl) { @@ -504,6 +505,19 @@ } } - init(); + // + function project_tutorial_helper(){ + if( $('.panel').hasClass('introjs-showElement')){ + $('.introjs-showElement') + .find('.form-submit-link') + .css({ + 'pointer-events': 'none', + 'color': '#d2d2d2'}); -}()); \ No newline at end of file + } + } + + init(); + project_tutorial_helper(); + +}());