Skip to content

Commit

Permalink
fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
xlc committed Mar 10, 2016
1 parent 181d625 commit 701c99c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/display/annotation_layer.js
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,8 @@ var TextWidgetAnnotationElement =
}

content.disabled = isReadonly;
content.value = this.storageService.get(this.data.fullName) || this.data.fieldValue;
content.value = this.storageService.get(this.data.fullName) ||
this.data.fieldValue;
var textAlignment = this.data.textAlignment;
content.style.textAlign = ['left', 'center', 'right'][textAlignment];
if (this.data.maxLen !== null) {
Expand Down
2 changes: 1 addition & 1 deletion web/annotation_layer_builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/*globals PDFJS, mozL10n, SimpleLinkService */
/*globals PDFJS, mozL10n, SimpleLinkService, SimpleStorageService */

'use strict';

Expand Down

0 comments on commit 701c99c

Please sign in to comment.