1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-12-21 12:40:08 +00:00

include-forms option : a few style changes

This commit is contained in:
Simon Chenard 2015-01-26 10:20:00 -05:00
parent db10f6744a
commit 54781e0523
3 changed files with 3 additions and 7 deletions

View File

@ -17,6 +17,7 @@ Marc Sanfacon <marc.sanfacon@gmail.com>
Michele Redolfi <michele@tecnicaict.com>
Mick Giles <mick@mickgiles.com>
Ryan Morlok <ryan.morlok@morlok.com>
Simon Chenard <chenard.simon@gmail.com>
Wanmin Liu <wanminliu@gmail.com>
Packagers:

View File

@ -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");
});
}
},

View File

@ -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;
}