]> git.wh0rd.org - tt-rss.git/blobdiff - index.php
sorta-kinda fix the feedlist
[tt-rss.git] / index.php
index 53901ec6e2008657a220bd9b4ab2a110fb465f38..c17a104168688714f5d06768b3eb10ee25882bba 100644 (file)
--- a/index.php
+++ b/index.php
                }
 
                foreach (array("tt-rss", "functions", "feedlist", "viewfeed", "FeedTree") as $js) {
-                       echo JSMin::minify(file_get_contents("js/$js.js"));
+                       if (!isset($_GET['debug'])) {
+                               echo JSMin::minify(file_get_contents("js/$js.js"));
+                       } else {
+                               echo file_get_contents("js/$js.js");
+                       }
                }
        ?>
        </script>