optimized CSS a bit

This commit is contained in:
Peter Cottle 2013-01-05 12:35:37 -08:00
parent 19b6038f55
commit d5f456fa0c
10 changed files with 615 additions and 489 deletions

View file

@ -199,6 +199,9 @@ var ModalView = Backbone.View.extend({
},
toggleShow: function(value) {
// this prevents releasing keyboard twice
if (this.shown === value) { return; }
if (value) {
this.stealKeyboard();
} else {