Module pattern for hotkey.js

(imported from commit 56616bc8eeaa594ca70bb92bf17a88f97027fd35)
This commit is contained in:
Keegan McAllister
2012-10-18 13:58:10 -04:00
parent 461da3f742
commit 1398641aa3
3 changed files with 21 additions and 11 deletions

View File

@@ -26,7 +26,7 @@ function compose_button(tabname) {
clear_compose_box();
$('#sidebar a[href="#home"]').tab('show');
show_compose(tabname, $("#" + tabname));
set_compose_hotkey();
hotkeys.set_compose();
}
function toggle_compose() {