(trunk web) fix a startup timing issue by deferring the Transmission object's instantiation to the end of our $(document).ready() function.

This commit is contained in:
Jordan Lee 2011-11-13 20:13:25 +00:00
parent e2c24f28c4
commit d17e9ff1c9
1 changed files with 6 additions and 6 deletions

View File

@ -42,12 +42,6 @@ $(document).ready(function() {
};
}
// Initialise the dialog controller
dialog = new Dialog();
// Initialise the main Transmission controller
transmission = new Transmission();
// IE specific fixes here
if ($.browser.msie) {
try {
@ -76,6 +70,12 @@ $(document).ready(function() {
// and this kills the border we used to have
$('.trans_menu div.outerbox').css('border', 'none');
}
// Initialise the dialog controller
dialog = new Dialog();
// Initialise the main Transmission controller
transmission = new Transmission();
});
/**