let card = $('#content ul.data > li')[cardIndex];
const pagination = $('.pagination');
+ /* Show nothing on quickstart */
+ if ($('#content > div.quickstart').length > 0) {
+ return;
+ }
+
/* If we come from next page */
if (window.location.hash === '#prev') {
cardIndex = cardNumber - 1;
/* Actions */
Mousetrap.bind('g n', () => {
$('#nav-btn-add').trigger('click');
+ return false;
+ });
+
+ Mousetrap.bind('s', () => {
+ $('#nav-btn-search').trigger('click');
+ return false;
});
Mousetrap.bind('esc', () => {