forked from 0x2620/oxjs
.bind -> .on, .unbind -> .off
This commit is contained in:
parent
f45f993f42
commit
461a237880
22 changed files with 54 additions and 54 deletions
|
|
@ -119,7 +119,7 @@ Ox.VideoTimelinePlayer = function(options, self) {
|
|||
|
||||
self.$timelinePlayer = Ox.Element()
|
||||
.css({overflowX: 'hidden', overflowY: 'auto'})
|
||||
.bind({
|
||||
.on({
|
||||
mousedown: mousedown,
|
||||
mouseleave: mouseleave,
|
||||
mousemove: mousemove,
|
||||
|
|
@ -206,7 +206,7 @@ Ox.VideoTimelinePlayer = function(options, self) {
|
|||
width: self.positionWidth - 4 + 'px'
|
||||
})
|
||||
.html(formatPosition())
|
||||
.bind({
|
||||
.on({
|
||||
click: function() {
|
||||
if (!self.options.paused) {
|
||||
self.playOnSubmit = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue