mirror of
https://github.com/transmission/transmission
synced 2024-12-24 16:52:39 +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:
parent
e2c24f28c4
commit
d17e9ff1c9
1 changed files with 6 additions and 6 deletions
|
@ -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
|
// IE specific fixes here
|
||||||
if ($.browser.msie) {
|
if ($.browser.msie) {
|
||||||
try {
|
try {
|
||||||
|
@ -76,6 +70,12 @@ $(document).ready(function() {
|
||||||
// and this kills the border we used to have
|
// and this kills the border we used to have
|
||||||
$('.trans_menu div.outerbox').css('border', 'none');
|
$('.trans_menu div.outerbox').css('border', 'none');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Initialise the dialog controller
|
||||||
|
dialog = new Dialog();
|
||||||
|
|
||||||
|
// Initialise the main Transmission controller
|
||||||
|
transmission = new Transmission();
|
||||||
});
|
});
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue