1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-24 00:34:04 +00:00

(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

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();
});
/**