removing old post_window (!!) and fixing default focus when the composer is loaded

This commit is contained in:
Julian Lam
2013-06-05 10:25:29 -04:00
parent 82736d8780
commit 89d484c4ca
5 changed files with 8 additions and 278 deletions

View File

@@ -56,14 +56,6 @@
}
});
// Post window events
var postWindowEl = document.getElementById('post_window'),
discardEl = document.getElementById('discard-post');
discardEl.addEventListener('click', function() {
$(postWindowEl).slideToggle(250);
$(document.body).removeClass('composing');
}, false);
// Notifications dropdown
var notifContainer = document.getElementsByClassName('notifications')[0],
notifTrigger = notifContainer.querySelector('a'),