Skip to content
Snippets Groups Projects
Commit d3dc4b47 authored by Andrew Dolgov's avatar Andrew Dolgov
Browse files

Merge pull request #116 from dandersson/load_user_js_last

Load plugin JS after native JS to enhance plugin capabilities
parents df806921 d94fba61
No related branches found
No related tags found
No related merge requests found
...@@ -104,6 +104,9 @@ ...@@ -104,6 +104,9 @@
<?php <?php
require 'lib/jshrink/Minifier.php'; require 'lib/jshrink/Minifier.php';
print get_minified_js(array("tt-rss",
"functions", "feedlist", "viewfeed", "FeedTree"));
global $pluginhost; global $pluginhost;
foreach ($pluginhost->get_plugins() as $n => $p) { foreach ($pluginhost->get_plugins() as $n => $p) {
...@@ -112,9 +115,6 @@ ...@@ -112,9 +115,6 @@
} }
} }
print get_minified_js(array("tt-rss",
"functions", "feedlist", "viewfeed", "FeedTree"));
init_js_translations(); init_js_translations();
?> ?>
</script> </script>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment