Changed single quotes to double quotes for styling.
This commit is contained in:
parent
b81019676f
commit
03c0aac634
|
@ -156,7 +156,7 @@
|
||||||
["a",{href:"http://www.mathjax.org/"},["www.mathjax.org"]],
|
["a",{href:"http://www.mathjax.org/"},["www.mathjax.org"]],
|
||||||
["span",{id: "MathJax_HelpClose", onclick: HELP.Remove,
|
["span",{id: "MathJax_HelpClose", onclick: HELP.Remove,
|
||||||
onkeydown: HELP.Keydown, tabIndex: 0,
|
onkeydown: HELP.Keydown, tabIndex: 0,
|
||||||
'aria-label': 'Close', 'aria-describedby': 'Close window'},
|
"aria-label": "Close", "aria-describedby": "Close window"},
|
||||||
[["span",{},["\u00D7"]]]
|
[["span",{},["\u00D7"]]]
|
||||||
]
|
]
|
||||||
]));
|
]));
|
||||||
|
@ -178,7 +178,7 @@
|
||||||
};
|
};
|
||||||
HELP.Keydown = function(event) {
|
HELP.Keydown = function(event) {
|
||||||
if (event.keyCode === KEY.ESCAPE ||
|
if (event.keyCode === KEY.ESCAPE ||
|
||||||
(this.id === 'MathJax_HelpClose' &&
|
(this.id === "MathJax_HelpClose" &&
|
||||||
(event.keyCode === KEY.SPACE || event.keyCode === KEY.RETURN))) {
|
(event.keyCode === KEY.SPACE || event.keyCode === KEY.RETURN))) {
|
||||||
HELP.Remove(event);
|
HELP.Remove(event);
|
||||||
MENU.CurrentNode().focus();
|
MENU.CurrentNode().focus();
|
||||||
|
|
|
@ -343,7 +343,7 @@
|
||||||
var oldX = window.pageXOffset || document.documentElement.scrollLeft;
|
var oldX = window.pageXOffset || document.documentElement.scrollLeft;
|
||||||
var oldY = window.pageYOffset || document.documentElement.scrollTop;
|
var oldY = window.pageYOffset || document.documentElement.scrollTop;
|
||||||
MENU.Focus(menu);
|
MENU.Focus(menu);
|
||||||
if (event.type === 'keydown') {
|
if (event.type === "keydown") {
|
||||||
MENU.skipMouseoverFromKey = true;
|
MENU.skipMouseoverFromKey = true;
|
||||||
setTimeout(function() {delete MENU.skipMouseoverFromKey;}, CONFIG.delay);
|
setTimeout(function() {delete MENU.skipMouseoverFromKey;}, CONFIG.delay);
|
||||||
}
|
}
|
||||||
|
@ -498,7 +498,7 @@
|
||||||
active: null, // The focused in HTML node in the menu.
|
active: null, // The focused in HTML node in the menu.
|
||||||
|
|
||||||
GetNode: function(jax) {
|
GetNode: function(jax) {
|
||||||
var node = document.getElementById(jax.inputID + '-Frame');
|
var node = document.getElementById(jax.inputID + "-Frame");
|
||||||
return node.isMathJax ? node : node.firstChild;
|
return node.isMathJax ? node : node.firstChild;
|
||||||
},
|
},
|
||||||
CurrentNode: function() {
|
CurrentNode: function() {
|
||||||
|
@ -691,7 +691,7 @@
|
||||||
{onmouseover: MENU.Mouseover, onmouseout: MENU.Mouseout,
|
{onmouseover: MENU.Mouseover, onmouseout: MENU.Mouseout,
|
||||||
onmousedown: MENU.Mousedown, role: this.role,
|
onmousedown: MENU.Mousedown, role: this.role,
|
||||||
onkeydown: MENU.Keydown,
|
onkeydown: MENU.Keydown,
|
||||||
'aria-disabled': !!this.disabled},
|
"aria-disabled": !!this.disabled},
|
||||||
def);
|
def);
|
||||||
def = this.SUPER(arguments).Attributes.call(this, def);
|
def = this.SUPER(arguments).Attributes.call(this, def);
|
||||||
if (this.disabled) {
|
if (this.disabled) {
|
||||||
|
@ -1033,7 +1033,7 @@
|
||||||
["span",{className:"MathJax_MenuClose",id:"MathJax_AboutClose",
|
["span",{className:"MathJax_MenuClose",id:"MathJax_AboutClose",
|
||||||
onclick:MENU.About.Remove,
|
onclick:MENU.About.Remove,
|
||||||
onkeydown: MENU.About.Keydown, tabIndex: 0,
|
onkeydown: MENU.About.Keydown, tabIndex: 0,
|
||||||
'aria-label': "Close", 'aria-describedby': "Close window"},
|
"aria-label": "Close", "aria-describedby": "Close window"},
|
||||||
[["span",{},"\u00D7"]]]
|
[["span",{},"\u00D7"]]]
|
||||||
]);
|
]);
|
||||||
about.focus();
|
about.focus();
|
||||||
|
@ -1054,7 +1054,7 @@
|
||||||
};
|
};
|
||||||
MENU.About.Keydown = function(event) {
|
MENU.About.Keydown = function(event) {
|
||||||
if (event.keyCode === KEY.ESCAPE ||
|
if (event.keyCode === KEY.ESCAPE ||
|
||||||
(this.id === 'MathJax_AboutClose' &&
|
(this.id === "MathJax_AboutClose" &&
|
||||||
(event.keyCode === KEY.SPACE || event.keyCode === KEY.RETURN))) {
|
(event.keyCode === KEY.SPACE || event.keyCode === KEY.RETURN))) {
|
||||||
MENU.About.Remove(event);
|
MENU.About.Remove(event);
|
||||||
MENU.CurrentNode().focus();
|
MENU.CurrentNode().focus();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user