Skip to content

Commit

Permalink
Merged branch 1.2.x-dev into master
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuel Moncarey committed Mar 8, 2017
2 parents 04633cf + cb6c81f commit 9bbfd16
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions dist/js/foundation.select.js
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
value: function _events() {
var _this = this;
this.$element.off('mousewheel.zf.select').on('mousewheel.zf.select', function (e) {
e.preventDefault();
if (e.originalEvent.deltaY > 0) _this._selectArrowDown(e);else _this._selectArrowUp(e);
}).add(this.$dropdown).off('keybord.zf.dropdown').on('keydown.zf.select', function (e) {
Foundation.Keyboard.handleKey(e, 'Select', {
Expand Down
2 changes: 1 addition & 1 deletion dist/js/foundation.select.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/js/foundation.select.js
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@
this.$element
.off('mousewheel.zf.select')
.on('mousewheel.zf.select', (e) => {
e.preventDefault();
if (e.originalEvent.deltaY > 0) _this._selectArrowDown(e);
else _this._selectArrowUp(e);
})
Expand Down

0 comments on commit 9bbfd16

Please sign in to comment.