File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 8181
8282 function stopper ( ) {
8383 ipc . send ( "floating-conversation" , { topic : "stop" } ) ;
84- isWorking = ! isWorking ;
85- if ( isWorking ) $ ( "#stopper" ) . html ( "<i class='iconfont icon-pause' aria-hidden='true'></i>" ) ;
86- else $ ( "#stopper" ) . html ( "<i class='iconfont icon-play' aria-hidden='true'></i>" ) ;
8784 }
8885
8986 function skipper ( ) {
Original file line number Diff line number Diff line change @@ -761,7 +761,10 @@ <h3>
761761 backcheck ( ) ;
762762 else
763763 ipc . send ( "alert" , i18n . __ ( "fail-to-withdraw" ) ) ;
764- } else if ( message === "stop" ) stopper ( ) ;
764+ } else if ( message === "stop" ) {
765+ stopper ( ) ;
766+ ipc . send ( "floating-conversation" , { topic : "stop-sync" , val : isClockWorking } ) ;
767+ }
765768 else if ( message === "enter" ) floatingOpener ( ) ;
766769 else if ( message === "closed" ) hasFloating = false ;
767770 } ) ;
You can’t perform that action at this time.
0 commit comments