diff options
author | Amit Kumar Chaudhary <amit@floatingpondtech.com> | 2014-03-19 16:51:40 +0530 |
---|---|---|
committer | Alexandru DAMIAN <alexandru.damian@intel.com> | 2014-03-24 18:32:19 +0000 |
commit | 16e6fc6e0492f4ebd5f18bd236478b6f9f778a1e (patch) | |
tree | 074372437fad6547d8b157230c2280f59deb5593 /lib | |
parent | 560569d0e1e5de694bc19d09bdf98890af54a6d6 (diff) | |
download | bitbake-16e6fc6e0492f4ebd5f18bd236478b6f9f778a1e.tar.gz |
toaster: combine ready functions
Merge the code into single ready function.
[YOCTO #4283]
Signed-off-by: Amit Kumar Chaudhary <amit@floatingpondtech.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/toaster/toastergui/static/js/main.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/toaster/toastergui/static/js/main.js b/lib/toaster/toastergui/static/js/main.js index 07aba3d86..7f897d2a9 100644 --- a/lib/toaster/toastergui/static/js/main.js +++ b/lib/toaster/toastergui/static/js/main.js @@ -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'); } + }); |