Remove resize logic in favor of pure css

This commit is contained in:
lilia 2015-02-18 23:09:34 -08:00
parent 07e44ccf21
commit 3292177a96
7 changed files with 32 additions and 16 deletions

View file

@ -41,12 +41,6 @@ var Whisper = Whisper || {};
addAll: function() {
this.$el.html('');
this.collection.each(this.addOne, this);
this.resize();
},
resize: function() {
var height = window.innerHeight - $('#header').height() - $('#footer').height();
this.$el.css('height', height + 'px');
},
render: function() {