Commit d13fd038 authored by Hervé  MENAGER's avatar Hervé MENAGER
Browse files

remove references to Kekule, not used anymore


Former-commit-id: ff204f9c47fac7f8fd8516fb9c5f235a8db3be96
parent 285fed6c
......@@ -4,7 +4,6 @@
{% block title %}compound detail{% endblock %}
{% block content %}
{% include "kekule_display.html" %}
<div class="inner-wrap">
<nav class="breadcrumb breadNav" role="navigation">
<div class="breadNav-label">You are here</div>
......
<script>
Kekule.Indigo.enable();
function kekule_display(smiles_id, viewer_id) {
var smi = document.getElementById(smiles_id).value;
var chemViewer = new Kekule.ChemWidget.Viewer(document.getElementById(viewer_id));
chemViewer.setEnableToolbar(false)
.setEnableDirectInteraction(false)
.setEnableEdit(false)
.setToolButtons([]);
var mol = Kekule.IO.loadFormatData(smi, "smi");
chemViewer.setChemObj(mol);
}
</script>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment