Skip to content

Commit 56416cb

Browse files
authored
"#element".tooltip is not a function on home page fixed. (#6070)
* Fixed missing $ symbol and cleaned up code a bit.
1 parent 74da6d1 commit 56416cb

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

notebook/templates/tree.html

+3-4
Original file line numberDiff line numberDiff line change
@@ -215,10 +215,9 @@
215215

216216
{% block script %}
217217
{{super()}}
218+
<script src="{{ static_url("tree/js/main.min.js") }}" type="text/javascript" charset="utf-8"></script>
219+
218220
<script type="text/javascript">
219-
('#element').tooltip('enable')
221+
$('#element').tooltip('enable')
220222
</script>
221-
222-
<script src="{{ static_url("tree/js/main.min.js") }}" type="text/javascript" charset="utf-8"></script>
223-
224223
{% endblock %}

0 commit comments

Comments
 (0)