diff --git a/bower.json b/bower.json index 3f704a88b..77731d422 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "pdfjs-dist", - "version": "1.3.127", + "version": "1.3.129", "main": [ "build/pdf.js", "build/pdf.worker.js" diff --git a/build/pdf.combined.js b/build/pdf.combined.js index 706ee2c4c..ca1e8297e 100644 --- a/build/pdf.combined.js +++ b/build/pdf.combined.js @@ -21,8 +21,8 @@ if (typeof PDFJS === 'undefined') { typeof global !== 'undefined' ? global : this).PDFJS = {}; } -PDFJS.version = '1.3.127'; -PDFJS.build = 'ad4354c'; +PDFJS.version = '1.3.129'; +PDFJS.build = 'f17d672'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it @@ -1991,7 +1991,7 @@ var LinkAnnotationElement = (function LinkAnnotationElementClosure() { * @returns {HTMLSectionElement} */ render: function LinkAnnotationElement_render() { - this.container.className = 'annotLink'; + this.container.className = 'linkAnnotation'; var link = document.createElement('a'); link.href = link.title = this.data.url || ''; diff --git a/build/pdf.js b/build/pdf.js index 717bd9a2c..96541c75f 100644 --- a/build/pdf.js +++ b/build/pdf.js @@ -21,8 +21,8 @@ if (typeof PDFJS === 'undefined') { typeof global !== 'undefined' ? global : this).PDFJS = {}; } -PDFJS.version = '1.3.127'; -PDFJS.build = 'ad4354c'; +PDFJS.version = '1.3.129'; +PDFJS.build = 'f17d672'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it @@ -1991,7 +1991,7 @@ var LinkAnnotationElement = (function LinkAnnotationElementClosure() { * @returns {HTMLSectionElement} */ render: function LinkAnnotationElement_render() { - this.container.className = 'annotLink'; + this.container.className = 'linkAnnotation'; var link = document.createElement('a'); link.href = link.title = this.data.url || ''; diff --git a/build/pdf.worker.js b/build/pdf.worker.js index 9193d076a..a9dac6d9e 100644 --- a/build/pdf.worker.js +++ b/build/pdf.worker.js @@ -21,8 +21,8 @@ if (typeof PDFJS === 'undefined') { typeof global !== 'undefined' ? global : this).PDFJS = {}; } -PDFJS.version = '1.3.127'; -PDFJS.build = 'ad4354c'; +PDFJS.version = '1.3.129'; +PDFJS.build = 'f17d672'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it diff --git a/package.json b/package.json index 73fbcf435..4546d284a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pdfjs-dist", - "version": "1.3.127", + "version": "1.3.129", "main": "build/pdf.js", "description": "Generic build of Mozilla's PDF.js library.", "keywords": [ diff --git a/web/pdf_viewer.css b/web/pdf_viewer.css index af61f8cc1..2783c1bea 100644 --- a/web/pdf_viewer.css +++ b/web/pdf_viewer.css @@ -86,7 +86,20 @@ position: absolute; } -.annotationLayer .annotLink > a:hover { +.annotationLayer .linkAnnotation > a { + position: absolute; + font-size: 1em; + top: 0; + left: 0; + width: 100%; + height: 100%; +} + +.annotationLayer .linkAnnotation > a /* -ms-a */ { + background: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7") 0 0 repeat; +} + +.annotationLayer .linkAnnotation > a:hover { opacity: 0.2; background: #ff0; box-shadow: 0px 2px 10px #ff0; @@ -125,19 +138,6 @@ padding-top: 0.2em; } -.annotationLayer .annotLink > a { - position: absolute; - font-size: 1em; - top: 0; - left: 0; - width: 100%; - height: 100%; -} - -.annotationLayer .annotLink > a /* -ms-a */ { - background: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7") 0 0 repeat; -} - .pdfViewer .canvasWrapper { overflow: hidden; }