Merge pull request #191 from VikasShashidhar/electron-149

Add tooltip to display full filename in download manager.
This commit is contained in:
Vikas Shashidhar 2017-10-05 15:48:32 +05:30 committed by GitHub
commit 860e9f2f73

View File

@ -108,7 +108,8 @@ function createDOM(arg) {
let h2FileName = document.createElement('h2'); let h2FileName = document.createElement('h2');
h2FileName.classList.add('text-cutoff'); h2FileName.classList.add('text-cutoff');
h2FileName.innerHTML = arg.fileName; h2FileName.innerHTML = arg.fileDisplayName;
h2FileName.title = arg.fileDisplayName;
fileNameDiv.appendChild(h2FileName); fileNameDiv.appendChild(h2FileName);
let fileProgressTitle = document.createElement('span'); let fileProgressTitle = document.createElement('span');