diff options
author | Anders Kaseorg <[email protected]> | 2017-01-20 12:29:59 -0500 |
---|---|---|
committer | Anders Kaseorg <[email protected]> | 2017-01-21 13:22:14 -0500 |
commit | 6887a0f57307820b097b51aee952c555bcf69024 (patch) | |
tree | ff041c03ac0251468eb4308927052f8bd6071ca3 /lib/dijit/templates/MenuItem.html | |
parent | 9f539be3c2c93ce358b10ca396e922b3b99b56ea (diff) |
lib: Upgrade Dojo and Dijit from 1.8.3 to 1.12.1
The itemNode and expandoNode elements have changed from img to
span (https://bugs.dojotoolkit.org/ticket/16699), so we now put our
tree icons inside them rather than replacing them.
Signed-off-by: Anders Kaseorg <[email protected]>
Diffstat (limited to 'lib/dijit/templates/MenuItem.html')
-rw-r--r-- | lib/dijit/templates/MenuItem.html | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/lib/dijit/templates/MenuItem.html b/lib/dijit/templates/MenuItem.html index 920038435..457f467b7 100644 --- a/lib/dijit/templates/MenuItem.html +++ b/lib/dijit/templates/MenuItem.html @@ -1,13 +1,14 @@ -<tr class="dijitReset dijitMenuItem" data-dojo-attach-point="focusNode" role="menuitem" tabIndex="-1"> +<tr class="dijitReset" data-dojo-attach-point="focusNode" role="menuitem" tabIndex="-1"> <td class="dijitReset dijitMenuItemIconCell" role="presentation"> - <img src="${_blankGif}" alt="" class="dijitIcon dijitMenuItemIcon" data-dojo-attach-point="iconNode"/> + <span role="presentation" class="dijitInline dijitIcon dijitMenuItemIcon" data-dojo-attach-point="iconNode"></span> </td> - <td class="dijitReset dijitMenuItemLabel" colspan="2" data-dojo-attach-point="containerNode"></td> + <td class="dijitReset dijitMenuItemLabel" colspan="2" data-dojo-attach-point="containerNode,textDirNode" + role="presentation"></td> <td class="dijitReset dijitMenuItemAccelKey" style="display: none" data-dojo-attach-point="accelKeyNode"></td> <td class="dijitReset dijitMenuArrowCell" role="presentation"> - <div data-dojo-attach-point="arrowWrapper" style="visibility: hidden"> - <img src="${_blankGif}" alt="" class="dijitMenuExpand"/> + <span data-dojo-attach-point="arrowWrapper" style="visibility: hidden"> + <span class="dijitInline dijitIcon dijitMenuExpand"></span> <span class="dijitMenuExpandA11y">+</span> - </div> + </span> </td> </tr> |