1
0
Fork 0
forked from 0x2620/oxjs

.bind -> .on, .unbind -> .off

This commit is contained in:
rolux 2012-05-28 16:06:22 +02:00
commit 461a237880
22 changed files with 54 additions and 54 deletions

View file

@ -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);