mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-09 01:35:43 +02:00
Lint: correct code style violations
Manual observations and working with other linting tools found these.
This commit is contained in:
parent
978b214c92
commit
5194e68134
13 changed files with 27 additions and 34 deletions
|
@ -509,7 +509,7 @@ var TextWidgetAnnotationElement = (
|
|||
// TODO: This duplicates some of the logic in CanvasGraphics.setFont().
|
||||
var style = element.style;
|
||||
style.fontSize = this.data.fontSize + 'px';
|
||||
style.direction = (this.data.fontDirection < 0 ? 'rtl': 'ltr');
|
||||
style.direction = (this.data.fontDirection < 0 ? 'rtl' : 'ltr');
|
||||
|
||||
if (!font) {
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue