what? why?
This commit is contained in:
parent
1e26b9188c
commit
0f5c3b3b86
2 changed files with 0 additions and 8 deletions
0
public/static/empty.css
Normal file
0
public/static/empty.css
Normal file
|
|
@ -697,8 +697,6 @@ export default {
|
|||
const styleEl = document.getElementById('editor-overall-holder')
|
||||
const styleSheet = styleEl.sheet
|
||||
|
||||
console.log(styleSheet)
|
||||
console.log('BEFORE', styleSheet.cssRules)
|
||||
for (let i = styleSheet.cssRules.length - 1; i >= 0; --i) {
|
||||
styleSheet.deleteRule(i)
|
||||
}
|
||||
|
|
@ -708,12 +706,6 @@ export default {
|
|||
css.join('\n'),
|
||||
'\n}'
|
||||
].join(''), 'index-max')
|
||||
styleSheet.insertRule([
|
||||
'#edited-style-preview {\n',
|
||||
css.join('\n'),
|
||||
'\n}'
|
||||
].join(''), 'index-max')
|
||||
console.log('AFTER', styleSheet.cssRules)
|
||||
})
|
||||
|
||||
const updateOverallPreview = () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue