diff --git a/src/web/app/mobile/tags/page/drive.tag b/src/web/app/mobile/tags/page/drive.tag
index beb7cf77a..7b27b3ae2 100644
--- a/src/web/app/mobile/tags/page/drive.tag
+++ b/src/web/app/mobile/tags/page/drive.tag
@@ -25,27 +25,31 @@
@Progress.done!
@refs.ui.refs.browser.on \move-root ~>
- @ui.trigger \title 'ドライブ'
-
# Rewrite URL
history.push-state null null '/i/drive'
- @refs.ui.refs.browser.on \open-folder (folder, silent) ~>
- # TODO: escape html characters in folder.name
- @ui.trigger \title '' + folder.name
+ document.title = 'Misskey Drive'
+ @ui.trigger \title 'ドライブ'
+ @refs.ui.refs.browser.on \open-folder (folder, silent) ~>
if !silent
# Rewrite URL
history.push-state null null '/i/drive/folder/' + folder.id
+ document.title = folder.name + ' | Misskey Drive'
+ # TODO: escape html characters in folder.name
+ @ui.trigger \title '' + folder.name
+
@refs.ui.refs.browser.on \open-file (file, silent) ~>
+ if !silent
+ # Rewrite URL
+ history.push-state null null '/i/drive/file/' + file.id
+
+ document.title = file.name + ' | Misskey Drive'
# TODO: escape html characters in file.name
@ui.trigger \title '' + file.name
riot.mount \mk-file-type-icon do
type: file.type
- if !silent
- # Rewrite URL
- history.push-state null null '/i/drive/file/' + file.id