app/assets/javascripts/lib/reader/hotkey_manager.js
Function setup_hotkey
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
LDR.setup_hotkey = function(){
Keybind = new HotKey(null, "reader");
Keybind.globalCallback = function(){
app.state.LastUserAction = new Date;
if(app.state.show_error) hide_error();