Skip to content

Commit

Permalink
fix: shiftkey hides alfred elements which breaks confirm feature
Browse files Browse the repository at this point in the history
  • Loading branch information
BernhardBaumrock committed Jan 19, 2023
1 parent 2a901d2 commit 2a5f3b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Alfred.js
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,7 @@
$(document).on("keydown keyup", function (e) {
pressed = false;
$(".alfred").removeClass("alfred-disabled");
if ($hovered.closest(".alfredelements").length) return;
if (!e.shiftKey) return;
pressed = true;
let $alfred = $hovered.closest(".alfred");
Expand Down
2 changes: 1 addition & 1 deletion RockFrontend.module.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public static function getModuleInfo()
{
return [
'title' => 'RockFrontend',
'version' => '2.16.0',
'version' => '2.16.1',
'summary' => 'Module for easy frontend development',
'autoload' => true,
'singular' => true,
Expand Down

0 comments on commit 2a5f3b1

Please sign in to comment.