mirror of
https://github.com/zombieFox/nightTab.git
synced 2024-11-22 08:03:18 +01:00
[refactor] add menu open and close button text
This commit is contained in:
parent
ac68eecf3a
commit
614ada97a6
2
package-lock.json
generated
2
package-lock.json
generated
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "nightTab",
|
||||
"version": "5.71.0",
|
||||
"version": "5.72.0",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "nightTab",
|
||||
"version": "5.71.0",
|
||||
"version": "5.72.0",
|
||||
"description": "A neutral new tab page accented with a chosen colour. Customise the layout, style, background and bookmarks in nightTab.",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
@ -1,3 +1,6 @@
|
||||
<div class="menu-close">
|
||||
<button class="menu-close-tab control-menu-close button button-link" tabindex="-1"><span class="icon-close"></span></button>
|
||||
<button class="menu-close-tab control-menu-close button button-link" tabindex="-1">
|
||||
<span class="button-text sr-only">Close settings menu</span>
|
||||
<span class="icon-close"></span>
|
||||
</button>
|
||||
</div>
|
||||
|
@ -479,6 +479,7 @@ var header = (function() {
|
||||
},
|
||||
menu: function() {
|
||||
var button = helper.node("button|class:control-menu-open header-menu button button-line,tabindex:1");
|
||||
var buttonText = helper.node("span:Open settings menu|class:button-text sr-only");
|
||||
var baselineAlignmentCharacter = helper.node("span:-|class:baseline-alignment-icon-character,aria-hidden:true");
|
||||
var buttonIcon = helper.node("span|class:icon-settings");
|
||||
if (state.get.current().header.menu.style == "clear") {
|
||||
@ -486,6 +487,7 @@ var header = (function() {
|
||||
};
|
||||
button.appendChild(baselineAlignmentCharacter);
|
||||
button.appendChild(buttonIcon);
|
||||
button.appendChild(buttonText);
|
||||
return button;
|
||||
}
|
||||
};
|
||||
|
@ -1,6 +1,6 @@
|
||||
var version = (function() {
|
||||
|
||||
var current = "5.71.0";
|
||||
var current = "5.72.0";
|
||||
|
||||
var name = "Jaded Raven";
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
"name": "nightTab",
|
||||
"short_name": "nightTab",
|
||||
"description": "A neutral new tab page accented with a chosen colour. Customise the layout, style, background and bookmarks in nightTab.",
|
||||
"version": "5.71.0",
|
||||
"version": "5.72.0",
|
||||
"manifest_version": 2,
|
||||
"chrome_url_overrides": {
|
||||
"newtab": "index.html"
|
||||
|
Loading…
Reference in New Issue
Block a user