Skip to content

Commit

Permalink
issue #419: fixing CR reviews
Browse files Browse the repository at this point in the history
  • Loading branch information
gullerya committed Nov 4, 2020
1 parent 3a1005d commit 53eed48
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions common/scheme/src/vvd-scheme-style-tag-handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ const getSchemeModule: (scheme: PredefinedScheme) => Promise<ModuleType> = (
const STYLE_ELEMENT_CLASS = 'vvd-scheme-style';
const style = ensureStyleMount(STYLE_ELEMENT_CLASS);

function ensureStyleMount(sseClass: string): HTMLStyleElement {
function ensureStyleMount(schemeStylesheetClass: string): HTMLStyleElement {
let result;
const existing = document.querySelectorAll(`.${sseClass}`);
const existing = document.querySelectorAll(`.${schemeStylesheetClass}`);
if (existing.length) {
console.error(
`found ${existing.length} scheme styles upon init while expected for 1, check your dependencies configuration`
Expand Down

0 comments on commit 53eed48

Please sign in to comment.