Fix tabs bug

This commit is contained in:
Duncan Sommerville 2015-09-29 15:09:09 -04:00
parent 0029844fa7
commit 3fcc3c507a

View file

@ -133,10 +133,12 @@ var AIRTIME = (function(AIRTIME) {
return container;
},
cursor: 'move',
cursorAt: {
left: Math.floor($(this).outerWidth() / 2)
create: function(event, ui) {
$(this).draggable("option", "cursorAt", {
left: Math.floor(this.clientWidth / 2)
});
},
cursor: 'move',
distance: 25, // min-distance for dragging
connectToSortable: '#show_builder_table'
});
@ -172,10 +174,12 @@ var AIRTIME = (function(AIRTIME) {
return container;
},
cursor: 'move',
cursorAt: {
left: Math.floor($(this).outerWidth() / 2)
create: function(event, ui) {
$(this).draggable("option", "cursorAt", {
left: Math.floor(this.clientWidth / 2)
});
},
cursor: 'move',
distance: 25, // min-distance for dragging
connectToSortable: '.active-tab .spl_sortable'
});