fix ready event for restored pages
Merge branch 'v2' into draghandle