mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
Fix a lint error
This commit is contained in:
parent
b7796f123a
commit
d8905b524d
1 changed files with 1 additions and 1 deletions
|
@ -281,7 +281,7 @@ var PageView = function(container, content, id, pageWidth, pageHeight,
|
|||
for (var i = 0; i < links.length; i++) {
|
||||
var link = document.createElement('a');
|
||||
link.style.left = (Math.floor(links[i].x - this.x) * scale) + 'px';
|
||||
link.style.top = (Math.floor(links[i].y - this.y) * scale) + 'px';
|
||||
link.style.top = (Math.floor(links[i].y - this.y) * scale) + 'px';
|
||||
link.style.width = Math.ceil(links[i].width * scale) + 'px';
|
||||
link.style.height = Math.ceil(links[i].height * scale) + 'px';
|
||||
link.href = links[i].url || '';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue