X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=prefs.php;h=4298c38a2be7efd4fd4e00527838c0464834ab46;hb=6f84bf7b0a2fcab6143b7a7fa95d70c539bb5267;hp=191f452c4e11cad86e0639cbe238ef45447244e6;hpb=d9c042c4c536f1afbf206aeea09b0b127b7b6418;p=tt-rss.git
diff --git a/prefs.php b/prefs.php
index 191f452c..4298c38a 100644
--- a/prefs.php
+++ b/prefs.php
@@ -42,7 +42,7 @@
+
+
get_plugins() as $n => $p) {
if (method_exists($p, "get_prefs_js")) {
+ echo "try {";
echo JShrink\Minifier::minify($p->get_prefs_js());
+ echo "} catch (e) {
+ console.warn('failed to initialize plugin JS: $n');
+ console.warn(e);
+ }";
}
}
- print get_minified_js(array("../lib/CheckBoxTree","functions", "deprecated", "prefs", "PrefFeedTree", "PrefFilterTree", "PrefLabelTree"));
+ print get_minified_js(array("functions", "deprecated", "prefs"));
init_js_translations();
?>