remove find button in MOZCENTRAL
This commit is contained in:
parent
1ec2e2a1a2
commit
e2a2085f62
@ -88,9 +88,11 @@ limitations under the License.
|
||||
<button id="viewOutline" class="toolbarButton group" title="Show Document Outline" tabindex="2" data-l10n-id="outline">
|
||||
<span data-l10n-id="outline_label">Document Outline</span>
|
||||
</button>
|
||||
<!--#if !MOZCENTRAL-->
|
||||
<button id="viewFind" class="toolbarButton group" title="Find in Document" tabindex="3" data-l10n-id="find_panel">
|
||||
<span data-l10n-id="find_panel_label">Find in Document</span>
|
||||
</button>
|
||||
<!--#endif-->
|
||||
</div>
|
||||
<div id="sidebarContent">
|
||||
<div id="thumbnailView">
|
||||
|
@ -446,8 +446,7 @@ var PDFFindBar = {
|
||||
this.findMsgNotFound = document.getElementById('findMsgNotFound');
|
||||
|
||||
var self = this;
|
||||
this.toggleButton.addEventListener('click',
|
||||
function() {
|
||||
this.toggleButton.addEventListener('click', function() {
|
||||
self.toggle();
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user