Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Save as improvements #267

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
fix formatting
andrewfulton9 committed Nov 7, 2024
commit b2499d23201a1f5d295f5164bd6065a2ee746f85
4 changes: 2 additions & 2 deletions nbclassic/static/notebook/js/notebook.js
Original file line number Diff line number Diff line change
@@ -3018,15 +3018,15 @@ define([
}
},
},
open : function () {
open : function () {
d.find('input[type="text"]').keydown(function (event) {
if (event.which === keyboard.keycodes.enter) {
d.find('.btn-primary').first().click();
return false;
}
});
d.find('input[type="text"]').val(current_dir).focus();
}
}
});
};