diff --git a/public/modules/custom/helfi_emergency_general/js/cookies_form.js b/public/modules/custom/helfi_emergency_general/js/cookies_form.js index 255e4476..3828c9ca 100644 --- a/public/modules/custom/helfi_emergency_general/js/cookies_form.js +++ b/public/modules/custom/helfi_emergency_general/js/cookies_form.js @@ -1,4 +1,4 @@ -(function ($) { +(function ($, drupalSettings) { Drupal.behaviors.cookieResetButton = { attach: function (context, settings) { once('cookieSubmitButtons', '.eu-cookie-compliance-block-form', context).forEach( diff --git a/public/themes/custom/hdbt_subtheme/stylelint.config.js b/public/themes/custom/hdbt_subtheme/stylelint.config.js index 93d0b5ca..d350236c 100644 --- a/public/themes/custom/hdbt_subtheme/stylelint.config.js +++ b/public/themes/custom/hdbt_subtheme/stylelint.config.js @@ -7,7 +7,6 @@ const fs = require('fs'); // Get document, or throw exception on error try { const doc = yaml.load(fs.readFileSync('../../contrib/hdbt/.stylelintrc.yaml', 'utf8')); - // console.log(doc); module.exports = doc; } catch (e) { console.log(e);