@internetstiftelsen/styleguide 2.25.6 → 2.25.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var inputs = document.querySelectorAll('[type="file"]');
3
+ var inputs = document.querySelectorAll('[type="file"]:not(.wpcf7-file)');
4
4
 
5
5
  Array.prototype.forEach.call(inputs, function (input) {
6
6
  var label = input.nextElementSibling;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@internetstiftelsen/styleguide",
3
- "version": "2.25.6",
3
+ "version": "2.25.7",
4
4
  "main": "dist/components.js",
5
5
  "ports": {
6
6
  "fractal": "3000"
@@ -1,4 +1,4 @@
1
- const inputs = document.querySelectorAll('[type="file"]');
1
+ const inputs = document.querySelectorAll('[type="file"]:not(.wpcf7-file)');
2
2
 
3
3
  Array.prototype.forEach.call(inputs, (input) => {
4
4
  const label = input.nextElementSibling;