Index: trunk/extensions/LiquidThreads/lqt.js |
— | — | @@ -1542,7 +1542,8 @@ |
1543 | 1543 | } |
1544 | 1544 | } |
1545 | 1545 | |
1546 | | -mw.ready( function() { |
| 1546 | +mw.addOnloadHook( function() { |
| 1547 | + console.profile('Setup'); |
1547 | 1548 | // One-time setup for the full page |
1548 | 1549 | |
1549 | 1550 | // Update the new thread link |
— | — | @@ -1596,5 +1597,6 @@ |
1597 | 1598 | $j('#wpSave').live( 'click', liquidThreads.handleAJAXSave ); |
1598 | 1599 | $j('#wpTextbox1').live( 'keyup', liquidThreads.onTextboxKeyUp ); |
1599 | 1600 | $j(document).click( liquidThreads.handleDocumentClick ); |
| 1601 | + console.profileEnd(); |
1600 | 1602 | } ); |
1601 | 1603 | |