Skip to content
Snippets Groups Projects
Commit 260ef156 authored by Robert Goldmann's avatar Robert Goldmann
Browse files

#133 - fixed cross-effects with template hot keys

parent e0b74c61
No related branches found
No related tags found
No related merge requests found
...@@ -37,9 +37,8 @@ $(document).ready(function() ...@@ -37,9 +37,8 @@ $(document).ready(function()
if($("#searchTemplate").length) if($("#searchTemplate").length)
{ {
document.getElementById('searchTemplate').focus(); document.getElementById('searchTemplate').focus();
enableTemplateHotKeys();
} }
enableHotKeys();
}); });
let selectedTemplateName = null; let selectedTemplateName = null;
...@@ -111,7 +110,7 @@ function searchTemplates(searchText) ...@@ -111,7 +110,7 @@ function searchTemplates(searchText)
handleKeyUpOrDown(null); handleKeyUpOrDown(null);
} }
function enableHotKeys() function enableTemplateHotKeys()
{ {
Mousetrap.bind('up', function() Mousetrap.bind('up', function()
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment