We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3fc55ad commit e6dadfaCopy full SHA for e6dadfa
repo.js
@@ -17,9 +17,7 @@ function repo_init(){
17
'character': -1,
18
'json': JSON.parse(event.target.result),
19
})){
20
- document.title = webgl_properties['title']
21
- ? webgl_properties['title'] + ' - ' + core_repo_title
22
- : core_repo_title;
+ document.title = (webgl_properties['title'] || element.files[0].name) + ' - ' + core_repo_title;
23
24
}else{
25
element.value = null;
0 commit comments