Skip to content

Commit 073731a

Browse files
committed
Fix Editor Version in title
1 parent 7aa3ada commit 073731a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

python-main.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,9 @@ function web_editor(config) {
305305
// This function is called to initialise the editor. It sets things up so
306306
// the user sees their code or, in the case of a new program, uses some
307307
// sane defaults.
308-
function setupEditor(message, migration) {
308+
function setupEditor(message) {
309+
// Set version in document title
310+
document.title = document.title + ' ' + EDITOR_VERSION;
309311
// Setup the Ace editor.
310312
EDITOR = pythonEditor('editor');
311313
if(message.n && message.c && message.s) {

0 commit comments

Comments
 (0)