File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
modules/default/compliments Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -206,7 +206,7 @@ Module.register("compliments", {
206206 // we need to force the server to not give us the cached result
207207 // create an extra property (ignored by the server handler) just so the url string is different
208208 // that will never be the same, using the ms value of date
209- if ( this . config . remoteFileRefreshInterval != null )
209+ if ( this . config . remoteFileRefreshInterval != 0 )
210210 this . urlSuffix = "?dummy=" + Date . now ( )
211211 //
212212 const response = await fetch ( url + this . urlSuffix ) ;
@@ -274,7 +274,7 @@ Module.register("compliments", {
274274 // only in test mode
275275 if ( window . mmTestMode === 'true' ) {
276276 // check for (undocumented) remoteFile2 to test new file load
277- if ( this . config . remoteFile2 !== null && this . config . remoteFileRefreshInterval !== null ) {
277+ if ( this . config . remoteFile2 !== null && this . config . remoteFileRefreshInterval !== 0 ) {
278278 // switch the file so that next time it will be loaded from a changed file
279279 this . config . remoteFile = this . config . remoteFile2
280280 }
You can’t perform that action at this time.
0 commit comments