We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16da10e commit 2eceed9Copy full SHA for 2eceed9
src/jupyter_contrib_nbextensions/nbextensions/export_embedded/main.js
@@ -15,7 +15,14 @@ define([
15
}
16
17
var load_ipython_extension = function() {
18
-
+
19
+ var v = Jupyter.version.split(".")
20
+ if(Number(v[0])*10+ Number(v[1]) < 51)
21
+ {
22
+ console.log('Notebook version 5.1.0 or higher required for this extension')
23
+ return
24
+ }
25
26
/* Add an entry in the download menu */
27
var dwm = $("#download_menu")
28
var downloadEntry = $('<li id="download_html_embed"><a href="#">HTML Embedded (.html)</a></li>')
0 commit comments