#3 Renamed custom property and removed console.log
This commit is contained in:
parent
1f7a9e164a
commit
7e3be1e059
|
@ -27,7 +27,7 @@ function updateLanguageDisplayListMode(node) {
|
||||||
// last column with flags
|
// last column with flags
|
||||||
let col = node.querySelector('h3.layout-align-end-center');
|
let col = node.querySelector('h3.layout-align-end-center');
|
||||||
|
|
||||||
if (typeof col === 'undefined' || col.eaManipulated) {
|
if (typeof col === 'undefined' || col.awpManipulated) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -38,9 +38,7 @@ function updateLanguageDisplayBoxMode(node) {
|
||||||
// last column with flags
|
// last column with flags
|
||||||
let col = node.querySelector('div.layout-align-end-start');
|
let col = node.querySelector('div.layout-align-end-start');
|
||||||
|
|
||||||
console.log(col)
|
if (typeof col === 'undefined' || col.awpManipulated) {
|
||||||
|
|
||||||
if (typeof col === 'undefined' || col.eaManipulated) {
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -222,5 +220,5 @@ function dopUpdateLanguageDisplay(parent, isBoxedModed) {
|
||||||
div.style.paddingRight = '2px';
|
div.style.paddingRight = '2px';
|
||||||
})
|
})
|
||||||
|
|
||||||
parent.eaManipulated = true;
|
parent.awpManipulated = true;
|
||||||
}
|
}
|
Loading…
Reference in a new issue