Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Minor issues in the Toolbar module.
- In
toolbar.html.twig
,nav
tag errors. - In
menu--toolbar.html.twig
, space errors. - In
ToolbarVisualView.js
,'(antiOrientation === 'vertical') ? true : false'
can be simplified to'(antiOrientation === 'vertical')
, since its returningtrue/false
.
Comment | File | Size | Author |
---|---|---|---|
#6 | interdiff-2603988-2-6.txt | 1.67 KB | heykarthikwithu |
#6 | 2603988-6.patch | 726 bytes | heykarthikwithu |
#2 | 2603988.patch | 1.99 KB | heykarthikwithu |
Comments
Comment #2
heykarthikwithuComment #3
heykarthikwithuComment #4
nod_Agreed on the ternary condition. You could even remove the parenthesis.
the nav tag is fine, I even asked morten if he was ok with it. He was: #2548027-4: Follow-up add back aria-label to toolbar tray.
I don't see the problem with the menu--toolbar file.
Setting back to NW, can you roll the patch with only the ternary condition change please?
Comment #5
heykarthikwithuworking in this.
Comment #6
heykarthikwithuremove the parenthesis.
rolled the patch with only the ternary condition change.
Comment #7
nod_All good, thanks!
Comment #8
alexpottCommitted 970cfb3 and pushed to 8.0.x. Thanks!