js/joyride.js
function(){
          angular.element(document.querySelector('body')).removeClass('jr_active jr_overlay_show');
          removeJoyride();
          scope.joyride.current = 0;
          scope.joyride.transitionStep = true;
          if (typeof scope.joyride.config.onFinish === "function") {
            scope.joyride.config.onFinish();
          }
          if (document.querySelector(".jr_target")) {
            angular.element(document.querySelector(".jr_target")).removeClass('jr_target');
          }
        }
function(){
          angular.element(document.querySelector('body')).removeClass('jr_active jr_overlay_show');
          removeJoyride();
          scope.joyride.current = 0;
          scope.joyride.transitionStep = true;
          if (typeof scope.joyride.config.onFinish === "function") {
            scope.joyride.config.onFinish();
          }
          if (document.querySelector(".jr_target")) {
            angular.element(document.querySelector(".jr_target")).removeClass('jr_target');
          }
        }
function ( ) { angular . element ( document . querySelector ( 'body' ) ) . removeClass ( 'jr_active jr_overlay_show' ) ; removeJoyride ( ) ; scope . joyride . current = 0 ; scope . joyride . transitionStep = true ; if ( typeof scope . joyride . config . onFinish === "function" ) { scope . joyride . config . onFinish ( ) ; } if ( document . querySelector ( ".jr_target" ) ) { angular . element ( document . querySelector ( ".jr_target" ) ) . removeClass ( 'jr_target' ) ; } }
Reset variables after joyride ends
Reset variables after joyride ends