Skip to content

Commit

Permalink
v0.3.4
Browse files Browse the repository at this point in the history
Fixes #4
  • Loading branch information
Stryzhevskyi committed Jun 16, 2015
1 parent 8ccee9f commit b377b11
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion dist/rangeSlider.js
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,8 @@
throw new TypeError('element must be HTMLElement');
}
name = name.trim();
var event = new CustomEvent(name, data);
var event = document.createEvent('CustomEvent');
event.initCustomEvent(name, false, false, data);
el.dispatchEvent(event);
}

Expand Down
Loading

2 comments on commit b377b11

@TrySound
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't forget to make a release for bower

@Stryzhevskyi
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.