mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-14 18:16:53 -04:00
fix 'undefined' list item clone bug, hitboxes for recipe icons more comfortable, fix problem where the operation-dropdown would display on click / tap of elements in expanded recipe view ( mobile )
This commit is contained in:
parent
6caaf1dc99
commit
21eb177527
4 changed files with 15 additions and 6 deletions
|
@ -497,7 +497,7 @@ ${navigator.userAgent}
|
|||
*/
|
||||
onMaximisedRecipeClick() {
|
||||
// if #recipe is maximised & rec-list is empty on mobile UI
|
||||
if (this.app.isMobileView() && document.querySelector("#recipe.maximised-pane") && document.querySelectorAll("#rec-list > li").length === 0) {
|
||||
if (this.app.isMobileView() && document.querySelector("#recipe.maximised-pane") && document.querySelectorAll("#rec-list > c-ingredient-li").length === 0) {
|
||||
// close max pane and display the expanded #operations-dropdown
|
||||
this.setPaneMaximised("recipe", false);
|
||||
this.manager.ops.openOpsDropdown();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue