@internetstiftelsen/styleguide 5.0.14-beta.0.1 → 5.0.14-beta.0.3
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.
|
@@ -23,7 +23,7 @@ var missingConsentMessage = 'För att spela Youtubefilmer krävs att "Riktade ka
|
|
|
23
23
|
function loadYoutubeAPI() {
|
|
24
24
|
var id = 'iisYoutubeAPI';
|
|
25
25
|
|
|
26
|
-
if (document.getElementById(id)) {
|
|
26
|
+
if (document.getElementById(id && _hasCookieConsent2.default)) {
|
|
27
27
|
return;
|
|
28
28
|
}
|
|
29
29
|
|
package/package.json
CHANGED
package/src/assets/js/youtube.js
CHANGED