mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-09 09:45:42 +02:00
Fix coding style in web/pdf_find_bar.js
This commit is contained in:
parent
6df9cc46b4
commit
2e09f14a80
1 changed files with 4 additions and 4 deletions
|
@ -26,7 +26,6 @@
|
||||||
* searching is done by PDFFindController
|
* searching is done by PDFFindController
|
||||||
*/
|
*/
|
||||||
var PDFFindBar = {
|
var PDFFindBar = {
|
||||||
|
|
||||||
opened: false,
|
opened: false,
|
||||||
bar: null,
|
bar: null,
|
||||||
toggleButton: null,
|
toggleButton: null,
|
||||||
|
@ -155,8 +154,9 @@ var PDFFindBar = {
|
||||||
},
|
},
|
||||||
|
|
||||||
close: function() {
|
close: function() {
|
||||||
if (!this.opened) return;
|
if (!this.opened) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
this.opened = false;
|
this.opened = false;
|
||||||
this.toggleButton.classList.remove('toggled');
|
this.toggleButton.classList.remove('toggled');
|
||||||
this.bar.classList.add('hidden');
|
this.bar.classList.add('hidden');
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue