Ignore:
Timestamp:
Apr 6, 2014, 3:51:22 PM (10 years ago)
Author:
flop25
Message:

every steps move to lang file
script debugged/enhanced

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/TakeATour/js/custom-bootstrap-tour-standalone.js

    r27993 r28097  
    819819          _this._debug("Show the orphan step " + (_this._current + 1) + ". Orphans option is true.");
    820820        }
     821        if (step.title  === "" & step.content  === "") {
     822            if (skipToPrevious) {
     823              _this._showPrevStep();
     824            } else {
     825              _this._showNextStep();
     826            }
     827            return;
     828        }
    821829        if (step.backdrop) {
    822830          _this._showBackdrop(!_this._isOrphan(step) ? step.element : void 0);
     
    975983        $.extend(options, step.options);
    976984      }
    977       if (step.reflex) {
     985      if (step.reflex & !isOrphan) {
    978986        $element.css("cursor", "pointer").on("click.tour-" + this._options.name, (function(_this) {
    979987          return function() {
Note: See TracChangeset for help on using the changeset viewer.