#3 Renamed custom property and removed console.log

This commit is contained in:
Serraniel 2020-09-27 12:53:45 +02:00
parent 1f7a9e164a
commit 7e3be1e059
Signed by: Serraniel
GPG key ID: 3690B4E7364525D3

View file

@ -27,7 +27,7 @@ function updateLanguageDisplayListMode(node) {
// last column with flags
let col = node.querySelector('h3.layout-align-end-center');
if (typeof col === 'undefined' || col.eaManipulated) {
if (typeof col === 'undefined' || col.awpManipulated) {
return;
}
@ -38,9 +38,7 @@ function updateLanguageDisplayBoxMode(node) {
// last column with flags
let col = node.querySelector('div.layout-align-end-start');
console.log(col)
if (typeof col === 'undefined' || col.eaManipulated) {
if (typeof col === 'undefined' || col.awpManipulated) {
return;
}
@ -222,5 +220,5 @@ function dopUpdateLanguageDisplay(parent, isBoxedModed) {
div.style.paddingRight = '2px';
})
parent.eaManipulated = true;
parent.awpManipulated = true;
}