Use $.find so these locals can go away

This commit is contained in:
lilia 2014-07-22 00:34:02 -10:00
parent 2e3d89ef78
commit 4724c96ecb

View file

@ -81,9 +81,9 @@ var Whisper = Whisper || {};
open: function(e) {
if (this.$el.hasClass('closed')) {
this.$el.removeClass('closed');
this.$collapsable.slideDown(600);
this.$el.find('.collapsable').slideDown(600);
}
this.$input.focus();
this.$el.find('input').focus();
},
toggle: function() {