bitbake: toaster: combine ready functions

Merge the code into single ready function.

[YOCTO #4283]

(Bitbake rev: 16e6fc6e0492f4ebd5f18bd236478b6f9f778a1e)

Signed-off-by: Amit Kumar Chaudhary <amit@floatingpondtech.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Amit Kumar Chaudhary
2014-03-19 16:51:40 +05:30
committed by Richard Purdie
parent f5d616ef3e
commit da1b795a9a

View File

@@ -90,9 +90,6 @@ $(document).ready(function() {
});
});
});
$(document).ready(function() {
//toggle the errors and warnings sections
$('.show-errors').click(function() {
$('#collapse-errors').addClass('in');
@@ -110,4 +107,5 @@ $(document).ready(function() {
if (location.href.search('#warnings') > -1) {
$('#collapse-warnings').addClass('in');
}
});