From 7e3be1e059ff8eb505bf14d0dcc02681d7d19b1f Mon Sep 17 00:00:00 2001 From: Serraniel Date: Sun, 27 Sep 2020 12:53:45 +0200 Subject: [PATCH] #3 Renamed custom property and removed console.log --- src/javascript/enhancements/languageDisplay.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/javascript/enhancements/languageDisplay.js b/src/javascript/enhancements/languageDisplay.js index f2e72ad..9952ab9 100644 --- a/src/javascript/enhancements/languageDisplay.js +++ b/src/javascript/enhancements/languageDisplay.js @@ -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; } \ No newline at end of file