Removed useless logs.

This commit is contained in:
Quentin Decaunes 2019-03-02 16:21:31 +01:00
parent b44926f9f5
commit 7182f1d9a5

View File

@ -263,11 +263,9 @@ function reApplyPeriodically(seconds) {
* Display tooltip on each options. * Display tooltip on each options.
*/ */
function displayOptionDescription() { function displayOptionDescription() {
appendLog("displayOptionDescription():");
const options_description = require('./js/options_description.json'); const options_description = require('./js/options_description.json');
for (const option in options_description) { for (const option in options_description) {
if (options_description.hasOwnProperty(option)) { if (options_description.hasOwnProperty(option)) {
appendLog(`- option: ${option}`);
const description = options_description[option]; const description = options_description[option];
const node = document.getElementById(option).parentElement.parentElement; const node = document.getElementById(option).parentElement.parentElement;
node.setAttribute('uk-tooltip', description); node.setAttribute('uk-tooltip', description);