With version 1.4 can no long collapse a list from code

With version 1.4 can no long collapse a list from code

I was using an earlier version of jq moble and was able to collapse a list with the following code:

$('#myList').delegate('li', 'click', function () {

$('#myList').trigger('collapse');

});

Anyone know why this code no longer works in 1.4.1