mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-29 01:10:04 +02:00
optimized CSS a bit
This commit is contained in:
parent
19b6038f55
commit
d5f456fa0c
10 changed files with 615 additions and 489 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue