senchalabs/jQTouch — Issue #379: Autotitle extension alway show the same Title
Author: onigetoc
Created: 2012-02-09 16:11:08+00:00
State: open

Hi,
Autotitle extension alway show the first Title who was clicked.

Temporary fix i did on the demo

$(function() {
//empty #page2 toolbar H1
$('#jqt>div').bind('pageAnimationEnd', function(e, data) {
if (data.direction === 'out') {
var referrerid = e.currentTarget.id;

if (referrerid == 'page2') {
$("#page2 .toolbar H1").empty();
}
}
});
}); //end function()

Is there a more solide way to do this?