Project

General

Profile

Bug #2080 » progressive_fix_20130530a.diff

Bruce Toll, 07/31/2013 10:32 PM

View differences:

src/web/skeleton/Boot.js
e.returnValue = false;
return false;
}
function setupDelayClick() {
var db = document.body;
if (!db) {
setTimeout(setupDelayClick, 0);
}
else {
if (db.addEventListener)
db.addEventListener('click', delayClick, true);
else
db.attachEvent('onclick', delayClick);
}
}
_$_$endif_$_();
(function() {
......
Make sure that we are not processing click events while progressing.
Instead, delay them.
*/
var db = doc.body;
if (db.addEventListener)
db.addEventListener('click', delayClick, true);
else
db.attachEvent('onclick', delayClick);
setupDelayClick();
_$_$endif_$_();
var allInfo = hashInfo + scaleInfo + htmlHistoryInfo + deployPathInfo;
(2-2/2)