Skip to content

Commit f456061

Browse files
Merge pull request #159 from datalayer-externals/fix/js-test-156
Use `var` instead of `const` to ensure js-test succeed
2 parents 6ede4fd + d1604df commit f456061

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: nbclassic/static/notebook/js/about.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ requirejs([
1010
'use strict';
1111
$('#notebook_about').click(function () {
1212
// The baseUrlPrefix is only injected in the document by nbclassic.
13-
const is_nbclassic = document.baseUrlPrefix !== undefined;
13+
var is_nbclassic = document.baseUrlPrefix !== undefined;
1414
// use underscore template to auto html escape
1515
if (sys_info) {
1616
var text = '';

0 commit comments

Comments
 (0)