This project is archived and is in readonly mode.

#114 ✓invalid

Slider onComplete fires if .set is used

Reported by Tim | August 29th, 2009 @ 12:49 AM

Mootools Slider onComplete action fires anytime the page loads if .set is used.


/ this one fires on page load /
var mySlide = new Slider($('premature-firing'), $('premature-firing'), {

onComplete: function(){alert("this shouldn't fire onLoad but does!")}


/ this one works properly / var mySlide = new Slider($('correct-firing'), $('correct-firing'), {

onComplete: function(){alert("this one doesn't fire until it's dragged")}


Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

The MooTools Extensions

People watching this ticket