Skip to content

Commit

Permalink
"css" option is now bundled into "preventDefault" option
Browse files Browse the repository at this point in the history
  • Loading branch information
stuyam committed Feb 5, 2016
1 parent caeaa59 commit a861ae4
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion dist/jquery.pressure.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ var Element = (function () {
_createClass(Element, [{
key: 'cssPrevention',
value: function cssPrevention(options) {
if (!options.hasOwnProperty('css') || options.css !== false) {
if (!options.hasOwnProperty('preventDefault') || options.preventDefault !== false) {
this.element.style.webkitUserSelect = "none";
}
}
Expand Down
2 changes: 1 addition & 1 deletion dist/jquery.pressure.min.js

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

2 changes: 1 addition & 1 deletion dist/pressure.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ var Element = (function () {
_createClass(Element, [{
key: 'cssPrevention',
value: function cssPrevention(options) {
if (!options.hasOwnProperty('css') || options.css !== false) {
if (!options.hasOwnProperty('preventDefault') || options.preventDefault !== false) {
this.element.style.webkitUserSelect = "none";
}
}
Expand Down
Loading

0 comments on commit a861ae4

Please sign in to comment.