@@ -39,7 +39,7 @@ function addDocumentInformation() {
3939 let elementCounter = 0 ;
4040
4141 try {
42- const scriptTag = document . getElementById ( 'sidworks-shopware- devtools-data' ) ;
42+ const scriptTag = document . getElementById ( 'sidworks-devtools-data' ) ;
4343 if ( scriptTag ) {
4444 const existingData = JSON . parse ( scriptTag . textContent ) ;
4545 if ( existingData . elementData ) {
@@ -135,7 +135,7 @@ function addDocumentInformation() {
135135 */
136136function storeElementData ( elementDataStore ) {
137137 try {
138- const scriptTag = document . getElementById ( 'sidworks-shopware- devtools-data' ) ;
138+ const scriptTag = document . getElementById ( 'sidworks-devtools-data' ) ;
139139 if ( scriptTag ) {
140140 const existingData = JSON . parse ( scriptTag . textContent ) ;
141141 existingData . elementData = elementDataStore ;
@@ -181,7 +181,7 @@ function updateDevToolsInformation() {
181181
182182 addDocumentInformation ( ) ;
183183
184- const scriptTag = document . getElementById ( 'sidworks-shopware- devtools-data' ) ;
184+ const scriptTag = document . getElementById ( 'sidworks-devtools-data' ) ;
185185 const hasDevTools = scriptTag && JSON . parse ( scriptTag . textContent ) . elementData ;
186186
187187 if ( port ) {
@@ -254,7 +254,7 @@ observer.observe(document.documentElement, {
254254chrome . runtime . onMessage . addListener ( ( request , sender , sendResponse ) => {
255255 if ( request . type === 'checkStatus' ) {
256256 try {
257- const scriptTag = document . getElementById ( 'sidworks-shopware- devtools-data' ) ;
257+ const scriptTag = document . getElementById ( 'sidworks-devtools-data' ) ;
258258 if ( scriptTag ) {
259259 const data = JSON . parse ( scriptTag . textContent ) ;
260260 const elementCount = data . elementData ? Object . keys ( data . elementData ) . length : 0 ;
0 commit comments