]> git.wh0rd.org - tt-rss.git/blobdiff - tt-rss.js
remove obsolete methods to call init(); code cleanup
[tt-rss.git] / tt-rss.js
index 408eb3913ed91a55e6c736b0bf41ed3ec98ab6e3..af5c6fae0cc7c4bb7e303d0dd47f8aacac4e7b91 100644 (file)
--- a/tt-rss.js
+++ b/tt-rss.js
@@ -385,11 +385,6 @@ function init() {
 
        try {
 
-               // this whole shebang is based on http://www.birnamdesigns.com/misc/busted2.html
-
-               if (arguments.callee.done) return;
-               arguments.callee.done = true;           
-
                init_gears();
 
                disableContainerChildren("headlinesToolbar", true);
@@ -512,6 +507,7 @@ function init_second_stage() {
                delCookie("ttrss_vf_test");
 
 //             document.onresize = resize_headlines;
+               window.onresize=resize_headlines;
 
                var toolbar = document.forms["main_toolbar_form"];