Skip to content

Commit f964042

Browse files
authored
Merge pull request #571 from brownplt/file-title
set the title attribute of the filename element to be the FULL filename
2 parents b59fe22 + 060a3d4 commit f964042

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/web/js/beforeBlocks.js

+1
Original file line numberDiff line numberDiff line change
@@ -501,6 +501,7 @@ $(function() {
501501
function updateName(p) {
502502
filename = p.getName();
503503
$("#filename").text(" (" + truncateName(filename) + ")");
504+
$("#filename").attr('title', filename);
504505
setTitle(filename);
505506
showShareContainer(p);
506507
}

src/web/js/beforePyret.js

+1
Original file line numberDiff line numberDiff line change
@@ -509,6 +509,7 @@ $(function() {
509509
function updateName(p) {
510510
filename = p.getName();
511511
$("#filename").text(" (" + truncateName(filename) + ")");
512+
$("#filename").attr('title', filename);
512513
setTitle(filename);
513514
showShareContainer(p);
514515
}

0 commit comments

Comments
 (0)