Battles shouldn't have a persistent header

This commit is contained in:
Guangcong Luo
2013-05-19 02:53:12 -05:00
parent 640eeef4e0
commit 5e7cab6155
4 changed files with 5 additions and 3 deletions

View File

@@ -2,7 +2,7 @@
var LadderRoom = this.LadderRoom = this.Room.extend({
initialize: function() {
this.$el.addClass('ps-room-light');
this.$el.addClass('ps-room-light').addClass('scrollable');
app.on('init:formats', this.update, this);
this.update();
},

View File

@@ -14,6 +14,7 @@
'click button.teamselect': 'selectTeam'
},
initialize: function() {
this.$el.addClass('scrollable');
var buf = '<div class="mainmenuwrapper">';

View File

@@ -8,7 +8,7 @@
teams = app.user.teams;
// left menu
this.$el.addClass('ps-room-light');
this.$el.addClass('ps-room-light').addClass('scrollable');
app.on('init:loadteams', this.update, this);
this.update();
},

View File

@@ -328,7 +328,8 @@ a.subtle:hover {
border-left: 1px solid #AAAAAA;
margin-left: -1px;
}
.scrollable {
overflow: auto;
-webkit-overflow-scrolling: touch;
overflow-scrolling: touch;