File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -886,15 +886,15 @@ class Events {
886886
887887 get ( ) {
888888 if ( this . cache ) return this . cache ;
889- this . cache = window . localStorage . getItem ( 'events ' ) ;
889+ this . cache = window . localStorage . getItem ( '19hz_events ' ) ;
890890 if ( this . cache ) this . cache = JSON . parse ( this . cache ) ;
891891 return this . cache ;
892892 }
893893
894894 set ( events ) {
895895 try {
896- window . localStorage . setItem ( 'events ' , JSON . stringify ( events ) ) ;
897- window . localStorage . setItem ( 'events_age ' , Date . now ( ) ) ;
896+ window . localStorage . setItem ( '19hz_events ' , JSON . stringify ( events ) ) ;
897+ window . localStorage . setItem ( '19hz_events_age ' , Date . now ( ) ) ;
898898 } catch ( e ) {
899899 console . error ( e ) ;
900900 }
@@ -903,7 +903,7 @@ class Events {
903903 }
904904
905905 age ( ) {
906- return window . localStorage . getItem ( 'events_age ' ) ;
906+ return window . localStorage . getItem ( '19hz_events_age ' ) ;
907907 }
908908
909909 isFresh ( old = 86400 ) {
You can’t perform that action at this time.
0 commit comments