mirror of
https://github.com/leoherzog/TorrentParts.git
synced 2026-01-23 19:58:03 -08:00
Add Dynamic Page Title
This commit is contained in:
6
parse.js
6
parse.js
@@ -154,6 +154,12 @@ function display() {
|
||||
|
||||
window.location.hash = parser.toMagnetURI(parsed);
|
||||
|
||||
if (parsed.name) {
|
||||
document.title = "Torrent Parts | " + parsed.name;
|
||||
} else {
|
||||
document.title = "Torrent Parts | Inspect and edit what's in your Torrent file or Magnet link";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function createFileRow(icon, name, size) {
|
||||
|
||||
Reference in New Issue
Block a user