Skip to content

Commit 2321200

Browse files
author
Jürgen Hasch
committed
Use base_url in snippets [skip ci]
1 parent 09a0db5 commit 2321200

File tree

1 file changed

+1
-1
lines changed
  • src/jupyter_contrib_nbextensions/nbextensions/snippets

1 file changed

+1
-1
lines changed

src/jupyter_contrib_nbextensions/nbextensions/snippets/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ define([
2323
function load_extension() {
2424
Jupyter.notebook.config.loaded.then(initialize); // trigger loading config parameters
2525

26-
$.getJSON(Jupyter.notebook.base_url+"/nbextensions/snippets/snippets.json", function(data) {
26+
$.getJSON(Jupyter.notebook.base_url+"nbextensions/snippets/snippets.json", function(data) {
2727
// Add the header as the top option, does nothing on click
2828
var option = $("<option></option>")
2929
.attr("id", "snippet_header")

0 commit comments

Comments
 (0)