Use $.find so these locals can go away

pull/749/head
lilia 11 years ago
parent 2e3d89ef78
commit 4724c96ecb

@ -81,9 +81,9 @@ var Whisper = Whisper || {};
open: function(e) { open: function(e) {
if (this.$el.hasClass('closed')) { if (this.$el.hasClass('closed')) {
this.$el.removeClass('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() { toggle: function() {

Loading…
Cancel
Save