Load plugin JS last to enhance plugin capabilities

This commit is contained in:
Daniel Andersson 2013-04-01 21:08:04 +02:00
parent df806921e0
commit d94fba61c1

View file

@ -104,6 +104,9 @@
<?php
require 'lib/jshrink/Minifier.php';
print get_minified_js(array("tt-rss",
"functions", "feedlist", "viewfeed", "FeedTree"));
global $pluginhost;
foreach ($pluginhost->get_plugins() as $n => $p) {
@ -112,9 +115,6 @@
}
}
print get_minified_js(array("tt-rss",
"functions", "feedlist", "viewfeed", "FeedTree"));
init_js_translations();
?>
</script>