Explorar el Código

Merge pull request #5967 from abrahamvegh/tabindex

Skip the cheatsheet link when tabbing
Jeremy Stretch hace 5 años
padre
commit
ad43373f5b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      netbox/utilities/forms/fields.py

+ 1 - 1
netbox/utilities/forms/fields.py

@@ -215,7 +215,7 @@ class CommentField(forms.CharField):
     default_label = ''
     # TODO: Port Markdown cheat sheet to internal documentation
     default_helptext = '<i class="mdi mdi-information-outline"></i> '\
-                       '<a href="https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet" target="_blank">'\
+                       '<a href="https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet" target="_blank" tabindex="-1">'\
                        'Markdown</a> syntax is supported'
 
     def __init__(self, *args, **kwargs):