Signed-off-by: Thomas Citharel <tcit@tcit.fr> use scss Signed-off-by: Thomas Citharel <tcit@tcit.fr> fix build, add babel, fix annotations fixes (and improvements !) for baggy add live reload & environments & eslint & theme fixes
11 lines
216 B
JavaScript
11 lines
216 B
JavaScript
import $ from 'jquery';
|
|
import Mousetrap from 'mousetrap';
|
|
|
|
$(document).ready(() => {
|
|
Mousetrap.bind('s', () => {
|
|
$('#search').trigger('click');
|
|
$('#search_entry_term').focus();
|
|
return false;
|
|
});
|
|
});
|