Skip to content
Snippets Groups Projects
Commit 75aa947e authored by Tuukka Turu's avatar Tuukka Turu
Browse files

Merge branch 'development'

parents aad46208 993debf1
No related branches found
No related tags found
No related merge requests found
......@@ -10,6 +10,12 @@ export interface SearchLabels {
label?: string;
}
declare global {
interface Window {
CludoSayt: any;
}
}
import {Component, Prop, h, Watch, State, Listen, Host, Event, EventEmitter, Element} from '@stencil/core';
import {ComponentLabels} from '../site-header';
import {ColorVariant} from '../../../utils/utils';
......@@ -97,7 +103,10 @@ export class SiteSearch {
let cludoSayt = document.querySelectorAll('stencil-cludo-sayt')[0] as HTMLElement;
if (cludoSayt) {
cludoSayt.classList.add('hidden');
let CludoSayt = window.CludoSayt;
if (typeof CludoSayt !== 'undefined') {
CludoSayt.hide();
}
}
this.showBackdropShadow();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment