diff --git a/demo/advance.html b/demo/advance.html
index f8c157aed..9f33960f9 100644
--- a/demo/advance.html
+++ b/demo/advance.html
@@ -111,8 +111,8 @@
Advanced Demo
},
removable: '#trash',
removeTimeout: 100,
- // dragIn: '.newWidget',
- // dragInOptions: { revert: 'invalid', scroll: false, appendTo: 'body', helper: 'clone' },
+ dragIn: '.newWidget',
+ dragInOptions: { revert: 'invalid', scroll: false, appendTo: 'body', helper: 'clone' },
acceptWidgets: '.newWidget'
});
@@ -121,13 +121,6 @@ Advanced Demo
items.forEach(function(item) { str += ' (x,y)=' + item.x + ',' + item.y; });
console.log(e.type + ' ' + items.length + ' items:' + str );
});
- // TODO: switch jquery-ui out
- $('.newWidget').draggable({
- revert: 'invalid',
- scroll: false,
- appendTo: 'body',
- helper: 'clone'
- });