File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -318,7 +318,7 @@ let isInitialized = false;
318318 console . error ( "GenFanad client not found in IDB. GenLite will not work." ) ;
319319 } else {
320320 store . openCursor ( null , 'prev' ) . onsuccess = ( e : any ) => {
321- let genfanadJS = e . target . result . src ;
321+ let genfanadJS = e . target . result . value . src ;
322322 genfanadJS = genfanadJS . replace ( / w i n d o w \. i n n e r W i d t h / g, "document.body.clientWidth" ) ;
323323 genfanadJS = genfanadJS . replace ( / b a c k g r o u n d - i m a g e : l i n e a r - g r a d i e n t \( v a r \( - - y e l l o w - 3 \) , v a r \( - - y e l l o w - 3 \) \) ; / g, "" ) ;
324324 document . cachedGenfanadSource = genfanadJS ;
Original file line number Diff line number Diff line change @@ -61,8 +61,7 @@ function getGenliteFromIDB(callback) {
6161 callback ( null ) ;
6262 } else {
6363 store . openCursor ( null , 'prev' ) . onsuccess = ( e : any ) => {
64- const cursor = e . target . result ;
65- callback ( cursor . value ) ;
64+ callback ( e . target . result . value ) ;
6665 } ;
6766 }
6867 } ;
@@ -100,8 +99,7 @@ function getGenfanadFromIDB(callback) {
10099 callback ( null ) ;
101100 } else {
102101 store . openCursor ( null , 'prev' ) . onsuccess = ( e : any ) => {
103- const cursor = e . target . result ;
104- callback ( cursor . value ) ;
102+ callback ( e . target . result . value ) ;
105103 } ;
106104 }
107105 } ;
You can’t perform that action at this time.
0 commit comments