Sha256: a67bd3558e288a41e7b61b25a86f5d7c3c0d12a39665de72ce7cc2ca110b12f4

Contents?: true

Size: 454 Bytes

Versions: 68

Compression:

Stored size: 454 Bytes

Contents

<% url = ThinkFeelDoEngine::Engine.routes.url_helpers %>

(function() {
  $(document).on("click", "#next-thought-pattern", showNextPage);

  function showNextPage(event) {
    var $currentEl = $(".thought-pattern:visible");
    var $nextEl = $currentEl.next(".thought-pattern");

    if ($nextEl.length === 1) {
      $currentEl.hide();
      $nextEl.show();
    } else {
      location.replace("<%= url.navigator_next_content_path %>");
    }
  }
})();

Version data entries

68 entries across 68 versions & 1 rubygems

Version Path
think_feel_do_engine-3.22.9 app/assets/javascripts/think_feel_do_engine/thought_patterns/index.js.erb
think_feel_do_engine-3.22.8 app/assets/javascripts/think_feel_do_engine/thought_patterns/index.js.erb
think_feel_do_engine-3.22.7 app/assets/javascripts/think_feel_do_engine/thought_patterns/index.js.erb
think_feel_do_engine-3.22.6 app/assets/javascripts/think_feel_do_engine/thought_patterns/index.js.erb
think_feel_do_engine-3.22.5 app/assets/javascripts/think_feel_do_engine/thought_patterns/index.js.erb
think_feel_do_engine-3.22.4 app/assets/javascripts/think_feel_do_engine/thought_patterns/index.js.erb
think_feel_do_engine-3.22.2 app/assets/javascripts/think_feel_do_engine/thought_patterns/index.js.erb
think_feel_do_engine-3.22.1 app/assets/javascripts/think_feel_do_engine/thought_patterns/index.js.erb
think_feel_do_engine-3.22.0 app/assets/javascripts/think_feel_do_engine/thought_patterns/index.js.erb
think_feel_do_engine-3.21.2 app/assets/javascripts/think_feel_do_engine/thought_patterns/index.js.erb
think_feel_do_engine-3.21.1 app/assets/javascripts/think_feel_do_engine/thought_patterns/index.js.erb
think_feel_do_engine-3.21.0 app/assets/javascripts/think_feel_do_engine/thought_patterns/index.js.erb
think_feel_do_engine-3.20.1 app/assets/javascripts/think_feel_do_engine/thought_patterns/index.js.erb
think_feel_do_engine-3.19.9 app/assets/javascripts/think_feel_do_engine/thought_patterns/index.js.erb
think_feel_do_engine-3.19.8 app/assets/javascripts/think_feel_do_engine/thought_patterns/index.js.erb
think_feel_do_engine-3.19.7 app/assets/javascripts/think_feel_do_engine/thought_patterns/index.js.erb
think_feel_do_engine-3.19.6 app/assets/javascripts/think_feel_do_engine/thought_patterns/index.js.erb
think_feel_do_engine-3.19.5 app/assets/javascripts/think_feel_do_engine/thought_patterns/index.js.erb
think_feel_do_engine-3.19.4 app/assets/javascripts/think_feel_do_engine/thought_patterns/index.js.erb
think_feel_do_engine-3.19.3 app/assets/javascripts/think_feel_do_engine/thought_patterns/index.js.erb