File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ function stripInitialIndent(html, indent) {
8888 const doc = new DOMParser ( ) . parseFromString ( html , 'text/html' )
8989 const initialSpans = doc . querySelectorAll ( 'div > div span:first-child' )
9090 for ( let i = 0 ; i < initialSpans . length ; i ++ ) {
91- initialSpans [ i ] . innerText = initialSpans [ i ] . innerText . slice ( indent )
91+ initialSpans [ i ] . textContent = initialSpans [ i ] . textContent . slice ( indent )
9292 }
9393 return doc . body . innerHTML
9494}
@@ -140,13 +140,13 @@ obturateur.addEventListener('mouseover', () => {
140140 {
141141 duration : 40 ,
142142 onReady : ( ) => {
143- obturateur . classList = 'obturateur filling'
143+ obturateur . className = 'obturateur filling'
144144 }
145145 } ,
146146 ( ) => {
147147 setTimeout ( ( ) => {
148148 isInAnimation = false
149- obturateur . classList = 'obturateur'
149+ obturateur . className = 'obturateur'
150150 } , 700 )
151151 }
152152 )
@@ -169,7 +169,7 @@ window.addEventListener('message', e => {
169169 snippetContainerNode . style . background = 'none'
170170 }
171171
172- snippetContainerNode . style . opacity = 1
172+ snippetContainerNode . style . opacity = '1'
173173 } else if ( e . data . type === 'update' ) {
174174 document . execCommand ( 'paste' )
175175 }
You can’t perform that action at this time.
0 commit comments