add additional ignores from librarymonitor
This commit is contained in:
parent
1efcc067f0
commit
411bc43282
12 changed files with 40 additions and 81 deletions
|
@ -4,8 +4,8 @@
|
|||
|
||||
function enableNativeMenu() {
|
||||
|
||||
if (browser.xboxOne) {
|
||||
return false;
|
||||
if (browser.edgeUwp || browser.xboxOne) {
|
||||
return true;
|
||||
}
|
||||
|
||||
// Doesn't seem to work at all
|
||||
|
@ -36,7 +36,7 @@
|
|||
select.value = value;
|
||||
}
|
||||
|
||||
function showActionSheeet(select) {
|
||||
function showActionSheet(select) {
|
||||
|
||||
var labelElem = getLabel(select);
|
||||
var title = labelElem ? (labelElem.textContent || labelElem.innerText) : null;
|
||||
|
@ -81,7 +81,7 @@
|
|||
// e.button=0 for primary (left) mouse button click
|
||||
if (!e.button && !enableNativeMenu()) {
|
||||
e.preventDefault();
|
||||
showActionSheeet(this);
|
||||
showActionSheet(this);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -92,7 +92,7 @@
|
|||
case 13:
|
||||
if (!enableNativeMenu()) {
|
||||
e.preventDefault();
|
||||
showActionSheeet(this);
|
||||
showActionSheet(this);
|
||||
}
|
||||
return;
|
||||
case 37:
|
||||
|
@ -125,12 +125,6 @@
|
|||
inputId++;
|
||||
}
|
||||
|
||||
this.removeEventListener('focus', onFocus);
|
||||
this.removeEventListener('blur', onBlur);
|
||||
|
||||
this.removeEventListener('mousedown', onMouseDown);
|
||||
this.removeEventListener('keydown', onKeyDown);
|
||||
|
||||
this.addEventListener('mousedown', onMouseDown);
|
||||
this.addEventListener('keydown', onKeyDown);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue