Sfoglia il codice sorgente

another fix for #1360

tags/v0.4.3^2
Big Bad Waffle 4 anni fa
parent
commit
1f2e6e831d
1 ha cambiato i file con 5 aggiunte e 4 eliminazioni
  1. +5
    -4
      src/client/ui/templates/options/options.js

+ 5
- 4
src/client/ui/templates/options/options.js Vedi File

@@ -165,15 +165,16 @@ define([
toggle: function () {
this.onResize();

this.shown = !this.el.is(':visible');

if (this.shown) {
if (!this.shown) {
this.show();
this.shown = true;
events.emit('onShowOverlay', this.el);

this.build();
} else
} else {
this.hide();
this.shown = false;
}
},
onKeyDown: function (keyEvent) {


Caricamento…
Annulla
Salva