File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
modules/default/compliments Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ Module.register("compliments", {
1616 } ,
1717 updateInterval : 30000 ,
1818 remoteFile : null ,
19- remoteFileRefreshInterval : null ,
19+ remoteFileRefreshInterval : 0 ,
2020 fadeSpeed : 4000 ,
2121 morningStartTime : 3 ,
2222 morningEndTime : 12 ,
@@ -49,8 +49,8 @@ Module.register("compliments", {
4949 const response = await this . loadComplimentFile ( ) ;
5050 this . config . compliments = JSON . parse ( response ) ;
5151 this . updateDom ( ) ;
52- if ( this . config . remoteFileRefreshInterval !== null ) {
53- if ( this . config . remoteFileRefreshInterval >= this . refreshMinimumDelay ) {
52+ if ( this . config . remoteFileRefreshInterval !== 0 ) {
53+ if ( this . config . remoteFileRefreshInterval >= this . refreshMinimumDelay ) {
5454 setInterval ( async ( ) => {
5555 const response = await this . loadComplimentFile ( ) ;
5656 this . compliments_new = JSON . parse ( response ) ;
You can’t perform that action at this time.
0 commit comments