Add save hotkey.

This commit is contained in:
bootstraponline
2012-08-30 20:48:44 -06:00
parent 30fd40fbe5
commit 85eeecd140
@@ -207,6 +207,11 @@
Mousetrap.bind(['command+b', 'ctrl+b'], function(){ hotkey('function-bold'); });
Mousetrap.bind(['command+i', 'ctrl+i'], function(){ hotkey('function-italic'); });
Mousetrap.bind(['command+s', 'ctrl+s'], function(){
$("#gollum-editor-submit").trigger("click");
return false;
});
} );
} else {
LanguageDefinition._ACTIVE_LANG = name;