Skip to content

Commit 3857c92

Browse files
authored
Merge pull request #3160 from Sukneet/get_name-warn-fix
warn_bad_name should not use global name
2 parents 782e9ce + ca5e39a commit 3857c92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

notebook/static/notebook/js/actions.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -954,7 +954,7 @@ define([
954954
**/
955955

956956
if(typeof(name_or_data) === 'string'){
957-
warn_bad_name(name);
957+
warn_bad_name(name_or_data);
958958
if(this.exists(name_or_data)){
959959
return name_or_data;
960960
} else {

0 commit comments

Comments
 (0)