use .on
This commit is contained in:
parent
4779f31171
commit
3781262837
1 changed files with 4 additions and 2 deletions
|
@ -138,8 +138,10 @@ Ox.Range = function(options, self) {
|
||||||
.css({
|
.css({
|
||||||
width: self.trackImageWidths[i] + 'px'
|
width: self.trackImageWidths[i] + 'px'
|
||||||
})
|
})
|
||||||
.mousedown(function(e) {
|
.on({
|
||||||
|
mousedown: function(e) {
|
||||||
e.preventDefault(); // prevent drag
|
e.preventDefault(); // prevent drag
|
||||||
|
}
|
||||||
})
|
})
|
||||||
.appendTo(self.$trackImages);
|
.appendTo(self.$trackImages);
|
||||||
//left += self.trackImageWidths[i];
|
//left += self.trackImageWidths[i];
|
||||||
|
|
Loading…
Reference in a new issue