Sha256: 29ae40308334e2dd7565bbc645a14b79f0e48d378cd12b29ae4bfa8adef967c0

Contents?: true

Size: 526 Bytes

Versions: 4

Compression:

Stored size: 526 Bytes

Contents

var PwbWelcomeController = Paloma.controller('Pwb/Welcome');

PwbWelcomeController.prototype.index = function() {
  $(".carousel-inner .item").click(function () {
    var carouselStatus = $('#homepageCarousel').data('status');
    if (carouselStatus && carouselStatus === "paused") {
      $('#homepageCarousel').carousel('cycle');
      $('#homepageCarousel').data('status', "cycling");    
    } else{
      $('#homepageCarousel').carousel('pause');
      $('#homepageCarousel').data('status', "paused");    
    }
  });
};

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
pwb-1.1.1 app/assets/javascripts/pwb/paloma/landing.js
pwb-1.0.0 app/assets/javascripts/pwb/paloma/landing.js
pwb-0.1.1 app/assets/javascripts/pwb/paloma/landing.js
pwb-0.1.0 app/assets/javascripts/pwb/paloma/landing.js