This commit is contained in:
Alex Yatskov 2016-03-28 19:53:55 -07:00
parent a8c7a8602f
commit baec1dd58a
2 changed files with 4 additions and 1 deletions

View File

@ -26,7 +26,9 @@
font-size: 1em;
max-height: 25em;
max-width: 35em;
overflow-y: scroll;
min-height: 10em;
min-width: 15em;
overflow-y: auto;
padding: 10px;
position: fixed;
visibility: hidden;

View File

@ -31,6 +31,7 @@ class Client {
window.addEventListener('mousemove', this.onMouseMove.bind(this));
window.addEventListener('keydown', this.onKeyDown.bind(this));
this.popup.mousedown((e) => e.stopPropagation());
this.popup.scroll((e) => e.stopPropagation());
getState((state) => this.setEnabled(state === 'enabled'));
}