Skip to content

Commit

Permalink
include-forms option : a few style changes
Browse files Browse the repository at this point in the history
  • Loading branch information
afrosimon committed Jan 26, 2015
1 parent db10f67 commit 54781e0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Marc Sanfacon <[email protected]>
Michele Redolfi <[email protected]>
Mick Giles <[email protected]>
Ryan Morlok <[email protected]>
Simon Chenard <[email protected]>
Wanmin Liu <[email protected]>

Packagers:
Expand Down
5 changes: 1 addition & 4 deletions share/pdf2htmlEX.js.in
Original file line number Diff line number Diff line change
Expand Up @@ -267,10 +267,7 @@ Viewer.prototype = {
var r = elements[i];

r.addEventListener('click', function() {
if(!this.classList.contains("checked"))
this.classList.add("checked");
else
this.classList.remove("checked");
this.classList.toggle("checked");
});
}
},
Expand Down
4 changes: 1 addition & 3 deletions src/HTMLRenderer/form.cc
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,7 @@ void HTMLRenderer::process_form(ofstream & out)
<< " width: " << width << "px; height: "
<< std::to_string(height) << "px; background-size: cover;\" ></div>" << endl;
}
else if(w->getType() == formChoice ||
w->getType() == formSignature ||
w->getType() == formUndef)
else
{
cerr << "Unsupported form field detected" << endl;
}
Expand Down

0 comments on commit 54781e0

Please sign in to comment.