notmasteryet/pdf.js — comment on commit b54be346b59b868c473a985242271e7e1f5696d4
File: web/viewer.js line 677
By vingtetun:

Could you use the standard HTML 5 'hidden' attribute? And do a fallback as a CSS rule for browsers that don't support it yet?
(The |hidden| attribute do a display: none;)