Skip to content

Commit

Permalink
fix Undesired mouseover effect on links in PDF on Chrome Pdf Viewer
Browse files Browse the repository at this point in the history
  • Loading branch information
spipu committed Jun 14, 2017
1 parent 95c5938 commit 48e55aa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.TXT
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
Unreleased
- fix Undesired mouseover effect on links in PDF on Chrome Pdf Viewer

6.2.13 (2016-06-10)
- IMPORTANT: A new version of this library is under development at https://github.com/tecnickcom/tc-lib-pdf and as a consequence this version will not receive any additional development or support. This version should be considered obsolete, new projects should use the new version as soon it will become stable.

Expand Down
4 changes: 3 additions & 1 deletion tcpdf.php
Original file line number Diff line number Diff line change
Expand Up @@ -8157,7 +8157,9 @@ protected function _putannotsobjs() {
$annots .= ' /FT /'.$pl['opt']['ft'];
$formfield = true;
}
$annots .= ' /Contents '.$this->_textstring($pl['txt'], $annot_obj_id);
if ($pl['opt']['subtype'] !== 'Link') {
$annots .= ' /Contents '.$this->_textstring($pl['txt'], $annot_obj_id);
}
$annots .= ' /P '.$this->page_obj_id[$n].' 0 R';
$annots .= ' /NM '.$this->_datastring(sprintf('%04u-%04u', $n, $key), $annot_obj_id);
$annots .= ' /M '.$this->_datestring($annot_obj_id, $this->doc_modification_timestamp);
Expand Down

0 comments on commit 48e55aa

Please sign in to comment.