Show version warning only if the project allow it
@@ -71,7 +71,9 @@ function init() {
dataType: "jsonp",
data: get_data,
success: function (data) {
+ if (data.show_version_warning) {
versionCompare.init(data.version_compare);
+ }
injectFooter(data);
setupBookmarkCSRFToken();
},
