Fix coding style in web/pdf_find_bar.js

This commit is contained in:
Jonas Jenwald 2014-03-08 23:55:05 +01:00
parent 6df9cc46b4
commit 2e09f14a80

View File

@ -26,7 +26,6 @@
* searching is done by PDFFindController
*/
var PDFFindBar = {
opened: false,
bar: null,
toggleButton: null,
@ -155,8 +154,9 @@ var PDFFindBar = {
},
close: function() {
if (!this.opened) return;
if (!this.opened) {
return;
}
this.opened = false;
this.toggleButton.classList.remove('toggled');
this.bar.classList.add('hidden');