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
|
|
@ -80,7 +80,7 @@ Ox.ArrayInput = function(options, self) {
|
|||
type: 'image'
|
||||
})
|
||||
.css({float: 'left', marginLeft: '8px'})
|
||||
.bind({
|
||||
.on({
|
||||
click: function() {
|
||||
var index = $(this).parent().data('index');
|
||||
if (self.$input[index].value() !== '') {
|
||||
|
|
@ -104,7 +104,7 @@ Ox.ArrayInput = function(options, self) {
|
|||
type: 'image'
|
||||
})
|
||||
.css({float: 'left', marginLeft: '8px'})
|
||||
.bind({
|
||||
.on({
|
||||
click: function() {
|
||||
var index = $(this).parent().data('index');
|
||||
addInput(index + 1, '', true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue