Merge pull request #2538 from thexmanxyz/feature/disable-menu-mobile

Disable menu with CSS on mobile devices
This commit is contained in:
Matias Griese
2019-10-01 16:16:05 +03:00
committed by GitHub
3 changed files with 14 additions and 1 deletions

View File

@@ -70,3 +70,9 @@ form:
label: Force Target Attribute
description: 'Adds ''target="_self"'' attribute to all menu items. Fixes an issue with pinned tabs in Firefox where external links always open in a new tab.'
default: 0
disableMobile:
type: input.checkbox
label: Disable on Mobile
description: Check this field to completely disable the menu on mobile devices. This prevents menu flickering but you might end with no menu when JS is not supported by the respective device.
default: 0