Skip to content
Snippets Groups Projects
Commit 48360cf9 authored by Henrik tom Wörden's avatar Henrik tom Wörden
Browse files

MAINT: Allow autocomplete to be enabled with BUILD var

parent 49411054
No related branches found
No related tags found
No related merge requests found
......@@ -101,6 +101,9 @@ var autocomplete = new function() {
};
};
//$(document).ready(function () {
// caosdb_modules.register(autocomplete);
//});
// this will be replaced by require.js in the future.
$(document).ready(function() {
if ("${BUILD_MODULE_EXT_AUTOCOMPLETE}" === "ENABLED") {
caosdb_modules.register(autocomplete);
}
});
......@@ -529,4 +529,4 @@ $(document).ready(function() {
caosdb_modules.register(plotly_preview);
caosdb_modules.register(ext_bottom_line);
}
});
\ No newline at end of file
});
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