Commit 9bf5ee03 authored by Robert Lyon's avatar Robert Lyon
Browse files

Bug 1827797: PDF viewer not hiding submenus on loading

This is due to the PDFjs using it's own .hidden css
and we changed 'hidden' class to 'd-none' in the html.
We need to change it back to 'hidden' again.


Change-Id: I91fd9dbd890d1e0effa98f667461fc49b24dc154
Signed-off-by: Robert Lyon's avatarRobert Lyon <>
parent 340687dd
......@@ -70,16 +70,16 @@ See
<div id="sidebarContent">
<div id="thumbnailView">
<div id="outlineView" class="d-none">
<div id="outlineView" class="hidden">
<div id="attachmentsView" class="d-none">
<div id="attachmentsView" class="hidden">
<div id="sidebarResizer" class="hidden"></div>
</div> <!-- sidebarContainer -->
<div id="mainContainer">
<div class="findbar d-none doorHanger" id="findbar">
<div class="findbar hidden doorHanger" id="findbar">
<div id="findbarInputContainer">
<input id="findInput" class="toolbarField" title="Find" placeholder="Find in document…" tabindex="91" data-l10n-id="find_input">
<div class="splitToolbarButton">
......@@ -103,7 +103,7 @@ See
<input type="checkbox" id="findEntireWord" class="toolbarField" tabindex="96">
<label for="findEntireWord" class="toolbarLabel" data-l10n-id="find_entire_word_label">Whole words</label>
<span id="findResultsCount" class="toolbarLabel d-none"></span>
<span id="findResultsCount" class="toolbarLabel hidden"></span>
<div id="findbarMessageContainer">
......@@ -111,7 +111,7 @@ See
</div> <!-- findbar -->
<div id="secondaryToolbar" class="secondaryToolbar d-none doorHangerRight">
<div id="secondaryToolbar" class="secondaryToolbar hidden doorHangerRight">
<div id="secondaryToolbarButtonContainer">
<button id="secondaryPresentationMode" class="secondaryToolbarButton presentationMode visibleLargeView" title="Switch to Presentation Mode" tabindex="51" data-l10n-id="presentation_mode">
<span data-l10n-id="presentation_mode_label">Presentation Mode</span>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment