File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
modules/default/compliments Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change 11/* global Cron */
22/* global global */
33
4- console . log ( "window name='" + window . name + "'" )
5- const compliments_test_mode = ( window . name == 'jsdom' ) ?true :false
6-
74Module . register ( "compliments" , {
85 // Module config defaults.
96 defaults : {
@@ -50,7 +47,7 @@ Module.register("compliments", {
5047 this . config . compliments = JSON . parse ( response ) ;
5148 this . updateDom ( ) ;
5249 if ( this . config . remoteFileRefreshInterval !== 0 ) {
53- if ( this . config . remoteFileRefreshInterval >= this . refreshMinimumDelay ) {
50+ if ( this . config . remoteFileRefreshInterval >= this . refreshMinimumDelay || window . intest ) {
5451 setInterval ( async ( ) => {
5552 const response = await this . loadComplimentFile ( ) ;
5653 this . compliments_new = JSON . parse ( response ) ;
You can’t perform that action at this time.
0 commit comments