Skip to content

Commit

Permalink
fix draggable for prevenDefault
Browse files Browse the repository at this point in the history
  • Loading branch information
olton committed Sep 21, 2015
1 parent ba89ef8 commit adedf60
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 8 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Expand Up @@ -2,6 +2,8 @@

## 3.0.13
* upd treeview for method addLeaf, now method returned li
* upd bower config
* init clock plugin

## 3.0.12
* add color schemes for calendar
Expand Down
4 changes: 4 additions & 0 deletions bower.json
Expand Up @@ -29,6 +29,10 @@
"build/js/metro.js"
],
"ignore": [
"node_modules",
"bower_components",
"docs",
"test"
],
"dependencies": {
"jquery": ">= 1.9.1"
Expand Down
4 changes: 2 additions & 2 deletions build/js/metro.js
Expand Up @@ -4341,7 +4341,7 @@ $.widget( "metro.draggable" , {
}
});

e.preventDefault();
//e.preventDefault();
});

dragElement.on('mouseup', function(e){
Expand All @@ -4367,7 +4367,7 @@ $.widget( "metro.draggable" , {
}
}

e.preventDefault();
//e.preventDefault();
});

},
Expand Down
4 changes: 2 additions & 2 deletions build/js/metro.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/js/metro.js
Expand Up @@ -4341,7 +4341,7 @@ $.widget( "metro.draggable" , {
}
});

e.preventDefault();
//e.preventDefault();
});

dragElement.on('mouseup', function(e){
Expand All @@ -4367,7 +4367,7 @@ $.widget( "metro.draggable" , {
}
}

e.preventDefault();
//e.preventDefault();
});

},
Expand Down
4 changes: 2 additions & 2 deletions js/widgets/draggable.js
Expand Up @@ -108,7 +108,7 @@ $.widget( "metro.draggable" , {
}
});

e.preventDefault();
//e.preventDefault();
});

dragElement.on('mouseup', function(e){
Expand All @@ -134,7 +134,7 @@ $.widget( "metro.draggable" , {
}
}

e.preventDefault();
//e.preventDefault();
});

},
Expand Down

0 comments on commit adedf60

Please sign in to comment.